Handle more syntax errors.
Invoke compiler.syntax.check() after building AST. If a SyntaxError occurs, print the error and exit without generating a .pyc file. Refactor code to use compiler.misc.set_filename() rather than passing filename argument around to each CodeGenerator instance.
J
Jeremy Hylton committed
37c9351cf6efbe58e01fd879a1d60cc6073ced6b
Parent: 09392b7