diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-09-17 18:03:55 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-09-17 18:03:55 (GMT) |
commit | 37c9351cf6efbe58e01fd879a1d60cc6073ced6b (patch) | |
tree | ea89cd6bdc54124e7b36b203269c1f68a89442e0 /Demo/sockets | |
parent | 09392b77a4d8be766e394177a466d51c2a64480f (diff) | |
download | cpython-37c9351cf6efbe58e01fd879a1d60cc6073ced6b.zip cpython-37c9351cf6efbe58e01fd879a1d60cc6073ced6b.tar.gz cpython-37c9351cf6efbe58e01fd879a1d60cc6073ced6b.tar.bz2 |
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.
Diffstat (limited to 'Demo/sockets')
0 files changed, 0 insertions, 0 deletions