diff options
author | Georg Brandl <georg@python.org> | 2006-06-04 21:56:52 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-06-04 21:56:52 (GMT) |
commit | ddbaa660d3b64a71b4ac9eab64b1bb944ca1276b (patch) | |
tree | ff4255db178f608511fbc29f1410241bef74a109 /Include | |
parent | 9f167606665c186179bf362d4227e722731cd1b9 (diff) | |
download | cpython-ddbaa660d3b64a71b4ac9eab64b1bb944ca1276b.zip cpython-ddbaa660d3b64a71b4ac9eab64b1bb944ca1276b.tar.gz cpython-ddbaa660d3b64a71b4ac9eab64b1bb944ca1276b.tar.bz2 |
Patch #1346214: correctly optimize away "if 0"-style stmts
(thanks to Neal for review)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/symtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/symtable.h b/Include/symtable.h index 222831a..1e5996d 100644 --- a/Include/symtable.h +++ b/Include/symtable.h @@ -39,6 +39,8 @@ typedef struct _symtable_entry { unsigned ste_generator : 1; /* true if namespace is a generator */ unsigned ste_varargs : 1; /* true if block has varargs */ unsigned ste_varkeywords : 1; /* true if block has varkeywords */ + unsigned ste_returns_value : 1; /* true if namespace uses return with + an argument */ int ste_lineno; /* first line of block */ int ste_opt_lineno; /* lineno of last exec or import * */ int ste_tmpname; /* counter for listcomp temp vars */ |