From 6e8a06b237ef77e34cd8b01b2ba80bdd672c6aae Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 1 Jun 2007 16:24:51 +0000 Subject: [PATCH] Clean things up --HG-- extra : convert_revision : 72ffcf5492d4e4f899ea5761639147e001c525b0 --- src/arch/micro_asm.py | 54 +++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/src/arch/micro_asm.py b/src/arch/micro_asm.py index 7fb7b3f6d..307c9118b 100644 --- a/src/arch/micro_asm.py +++ b/src/arch/micro_asm.py @@ -197,74 +197,80 @@ reserved_map = { } for r in reserved: reserved_map[r.lower()] = r +# Ignore comments def t_ANY_COMMENT(t): r'\#[^\n]*(?=\n)' - #print "t_ANY_COMMENT %s" % t.value def t_ANY_MULTILINECOMMENT(t): r'/\*([^/]|((?