Commit 4b248f94 authored by di68kap's avatar di68kap
Browse files

- Korrekturen

parent dc35ffcc
......@@ -287,3 +287,6 @@ def compile_source(source: str,
messages = syntax_tree.collect_errors()
adjust_error_locations(messages, original_text, source_mapping)
return result, messages, ast
# TODO: Verify compiler against grammar, i.e. make sure that for all on_X()-methods, `X` is the name of a parser
......@@ -261,7 +261,7 @@ def get_report(test_unit):
if ast:
report.append('\n### AST')
for test_name, test_code in tests.get('fail', dict()).items():
heading = 'Fail-test "%s"' % test_name
report.append('\n%s\n%s\n' % (heading, '-' * len(heading)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment