diff options
Diffstat (limited to 'lexers/LexOthers.cxx')
-rw-r--r-- | lexers/LexOthers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexOthers.cxx b/lexers/LexOthers.cxx index c583c93a1..3449f07f6 100644 --- a/lexers/LexOthers.cxx +++ b/lexers/LexOthers.cxx @@ -1170,7 +1170,7 @@ static int isTag(int start, Accessor &styler) { while (i < 5 && e) { s[i] = styler[start + i]; i++; - e = styler[start + i] != '{'; + e = (strchr("{ \t", styler[start + i]) == NULL); } s[i] = '\0'; return (strcmp(s, "begin") == 0) || (strcmp(s, "end") == 0); |