summaryrefslogtreecommitdiffstats
path: root/Include/parsetok.h
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-02-28 01:58:08 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-02-28 01:58:08 (GMT)
commit39e2f3f82499e2c06c092d38b77d554bee6f31e8 (patch)
treee37063c1c7bba98df17276b7afe4f972d51d0ae6 /Include/parsetok.h
parent8e43cd79293d70ddb6728ef90335e442d96ce038 (diff)
downloadcpython-39e2f3f82499e2c06c092d38b77d554bee6f31e8.zip
cpython-39e2f3f82499e2c06c092d38b77d554bee6f31e8.tar.gz
cpython-39e2f3f82499e2c06c092d38b77d554bee6f31e8.tar.bz2
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 'Include/parsetok.h')
0 files changed, 0 insertions, 0 deletions