diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-31 22:38:29 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-31 22:38:29 -0600 |
commit | 14c4550aff926f53f256e831a7d99bffffd21dfd (patch) | |
tree | 09be545f8edd4923b4b771845fe8b9a3db614430 /_ext | |
parent | 5af481d62df80d8be3f5835042d30372ef9cbe04 (diff) | |
download | spec-14c4550aff926f53f256e831a7d99bffffd21dfd.tar.gz spec-14c4550aff926f53f256e831a7d99bffffd21dfd.zip |
settle on a tagged union plan (for now)
Diffstat (limited to '_ext')
-rw-r--r-- | _ext/crowbar_domain.py | 1 | ||||
-rw-r--r-- | _ext/crowbar_lexer.py | 2 |
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), |