diff options
Diffstat (limited to '_ext/crowbar_lexer.py')
-rw-r--r-- | _ext/crowbar_lexer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_ext/crowbar_lexer.py b/_ext/crowbar_lexer.py index 6f0ec5e..2dd20ec 100644 --- a/_ext/crowbar_lexer.py +++ b/_ext/crowbar_lexer.py @@ -268,7 +268,7 @@ class CrowbarLexer(RegexLexer): tokens = { 'root': [ (r'bool|char|double|float|function|int|long|short|signed|unsigned|void', Keyword.Type), - (r'const|enum|extern|struct', Keyword.Declaration), + (r'const|enum|extern|struct|union', Keyword.Declaration), (r'include', Keyword.Namespace), (r'break|case|continue|default|do|else|for|fragile|if|return|switch|while', Keyword), (r"[\p{L}\p{Pc}\p{Sk}\p{Mn}][\p{L}\p{Pc}\p{Sk}\p{Mn}\p{N}]*", Name), |