fix comment stripping

the sequence
 stab YH ; comment
didn't parse because of trailing space
This commit is contained in:
Jeff Epler 2014-08-08 06:47:49 -05:00
parent 5d7d94e6bd
commit b86c6255c6

View file

@ -83,7 +83,7 @@ Grammar = (
| Empty())
def strip(line):
return line.rstrip().split(";", 1)[0]
return line.split(";", 1)[0].rstrip()
class Assembler:
def __init__(self):