diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-19 00:03:07 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-19 00:03:07 +0100 |
| commit | 92306ea966e213ccf20e9b2d3c5d8f9e1947778f (patch) | |
| tree | d4e15e3241ba41a1abd190cad9e621afa378b686 | |
| parent | 03496e976dbb492c4f58db1a82ca6351ea937fc4 (diff) | |
SciTECO lexer: style comma as operator
| -rw-r--r-- | src/lexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer.c b/src/lexer.c index 840596a..02a6636 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -45,7 +45,7 @@ teco_lexer_getstyle(teco_view_t *view, teco_machine_main_t *machine, chr <= 0xFF) { if (g_ascii_isdigit(chr)) style = SCE_SCITECO_NUMBER; - else if (strchr("+-*/#&", chr)) + else if (strchr(",+-*/#&", chr)) style = SCE_SCITECO_OPERATOR; } |
