commit | 37c9351cf6efbe58e01fd879a1d60cc6073ced6b | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Mon Sep 17 18:03:55 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Mon Sep 17 18:03:55 2001 +0000 |
tree | ea89cd6bdc54124e7b36b203269c1f68a89442e0 | |
parent | 09392b77a4d8be766e394177a466d51c2a64480f [diff] |
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.