aboutsummaryrefslogtreecommitdiff
path: root/crowbar_reference_compiler
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-05 11:09:29 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-05 11:09:29 -0700
commit67e4837345d6b3127ddd0ae281434d40f3b6b377 (patch)
treeddd6be7dae9e4f5a0ad18526a25cdd5c600ede7b /crowbar_reference_compiler
parentb6258d36b6534d521e9cdf1307665c38e5ae409d (diff)
downloadreference-compiler-67e4837345d6b3127ddd0ae281434d40f3b6b377.tar.gz
reference-compiler-67e4837345d6b3127ddd0ae281434d40f3b6b377.zip
fix type checking
Diffstat (limited to 'crowbar_reference_compiler')
-rw-r--r--crowbar_reference_compiler/ast.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/crowbar_reference_compiler/ast.py b/crowbar_reference_compiler/ast.py
index bb5a4e1..86e64fe 100644
--- a/crowbar_reference_compiler/ast.py
+++ b/crowbar_reference_compiler/ast.py
@@ -532,6 +532,7 @@ class ASTBuilder(NodeVisitor):
return ConstantExpression(body.type)
if body.type == 'string_literal':
return ConstantExpression(body.data)
+ raise NotImplementedError('atomic expression ' + repr(body))
def visit_StructPointerElementSuffix(self, node, visited_children):
separator, element = visited_children