diff python/asm.py @ 219:1fa3e0050b49

Expanded ad hoc code generator
author Windel Bouwman
date Sat, 06 Jul 2013 12:38:09 +0200
parents 494828a7adf1
children ff40407c0240
line wrap: on
line diff
--- a/python/asm.py	Fri Jul 05 15:30:22 2013 +0200
+++ b/python/asm.py	Sat Jul 06 12:38:09 2013 +0200
@@ -137,7 +137,9 @@
         self.emit = emitter
         self.p.parse(tokens)
 
+# Pre construct parser to save time:
 asmParser = Parser()
+
 class Assembler:
     def __init__(self, target=None):
         self.target = target