many bugfixes related to fast_parser

This commit is contained in:
David Halter
2012-12-15 16:38:21 +01:00
parent b8b4a02398
commit 2b579eb09b
8 changed files with 95 additions and 52 deletions

View File

@@ -127,8 +127,8 @@ def run_test(source, f_name, lines_to_execute):
try:
should_be |= defs(line_nr - 1, start + correct_start)
except Exception:
raise Exception('could not resolve %s indent %s'
% (line_nr - 1, start))
print('could not resolve %s indent %s' % (line_nr - 1, start))
raise
if print_debug:
api.set_debug_function(debug.print_to_stdout)
# because the objects have different ids, `repr` it, then compare it.