aboutsummaryrefslogtreecommitdiff
path: root/_ext
diff options
context:
space:
mode:
Diffstat (limited to '_ext')
-rw-r--r--_ext/crowbar_domain.py1
-rw-r--r--_ext/crowbar_lexer.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/_ext/crowbar_domain.py b/_ext/crowbar_domain.py
index db1330e..619487d 100644
--- a/_ext/crowbar_domain.py
+++ b/_ext/crowbar_domain.py
@@ -125,7 +125,6 @@ class CrowbarDomain(Domain):
return make_refnode(builder, fromdocname, todocname, targ,
contnode, targ)
else:
- print('Awww, found nothing')
return None
def add_keyword(self, signature):
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),