Commit 8090d991 authored by ORD's avatar ORD

Merge pull request #107 from stanti/cache_generation_close_file

Close generated address space files once the code generation is done
parents e46d352b a4fdbfa9
......@@ -39,6 +39,7 @@ class CodeGenerator(object):
self.make_method_code(node)
else:
sys.stderr.write("Not implemented node type: " + node.nodetype + "\n")
self.output_file.close()
def writecode(self, *args):
self.output_file.write(" ".join(args) + "\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment