aboutsummaryrefslogtreecommitdiff
path: root/crowbar_reference_compiler/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'crowbar_reference_compiler/__init__.py')
-rw-r--r--crowbar_reference_compiler/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/crowbar_reference_compiler/__init__.py b/crowbar_reference_compiler/__init__.py
index 48c546f..7a46e01 100644
--- a/crowbar_reference_compiler/__init__.py
+++ b/crowbar_reference_compiler/__init__.py
@@ -1,3 +1,4 @@
+from .declarations import load_declarations
from .parser import parse_header, parse_implementation
from .scanner import scan
from .ssagen import compile_to_ssa
@@ -31,6 +32,9 @@ def main():
with open(args.out, 'w', encoding='utf-8') as output_file:
output_file.write(str(parse_tree))
return
+
+ decls = load_declarations(parse_tree)
+
ssa = compile_to_ssa(parse_tree)
if args.stop_at_qbe_ssa:
if args.out is None: