Supoer multiple parsers, specifically for Python2 and Python3. In the

process some OO cleanup and some global variable hacks removed.
This commit is contained in:
rocky
2015-12-16 22:08:29 -05:00
parent a362b47b15
commit 2dc8375ed0
16 changed files with 1376 additions and 715 deletions

View File

@@ -51,8 +51,6 @@ def compare_ok(version, co):
for good_line in good_lines:
if '\tCOME_FROM ' in got_lines[i]:
i += 1
if '\tJUMP_FORWARD ' in good_line:
good_line = good_line = good_line[:32] + good_line[35:]
if got_lines[i] != good_line:
print('line %d %s' % (i+1, ('=' * 30)))