diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-28 01:58:08 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-28 01:58:08 +0000 |
commit | 18c95f725ceeb660137ff03b7786e196afc83ef4 (patch) | |
tree | 043acf69308177164e7d612bbcdc7053db0ea98c /Python/pythonrun.c | |
parent | 639ddd981b6064a2d724799b8b3949d9480acd1f (diff) | |
download | cpython-18c95f725ceeb660137ff03b7786e196afc83ef4.tar.gz |
Presumed correct compiler pass for future statements
XXX still need to integrate into symtable API
compile.h: Remove ff_n_simple_stmt; obsolete.
Add ff_found_docstring used internally to skip one and only
one string at the beginning of a module.
compile.c: Add check for from __future__ imports to far into the file.
In symtable_global() check for -1 returned from
symtable_lookup(), which signifies name not defined.
Add missing DECERF in symtable_add_def.
Free c->c_future.
future.c: Add special handling for multiple statements joined on a
single line using one or more semicolons; this form can
include an illegal future statement that would otherwise be
hard to detect.
Add support for detecting and skipping doc strings.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions