More AST checking

Small fixes in output format
This commit is contained in:
rocky
2016-11-16 07:28:19 -05:00
parent 9e3026bd78
commit 31d387749b
6 changed files with 29 additions and 5 deletions

View File

@@ -2324,7 +2324,7 @@ def deparse_code(version, co, out=sys.stdout, showasm=None, showast=False,
deparsed.write('# global %s ## Warning: Unused global' % g)
if deparsed.ast_errors:
deparsed.write("# NOTE: have decompilation errors.\n")
deparsed.write("# NOTE: have internal decompilation grammar errors.\n")
deparsed.write("# Use -t option to show full context.")
for err in deparsed.ast_errors:
deparsed.write(err)