[Python-checkins] python/dist/src/Include symtable.h,2.9.18.6,2.9.18.7
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Thu, 27 Mar 2003 12:44:45 -0800
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv27787
Modified Files:
Tag: ast-branch
symtable.h
Log Message:
Add tmpname to symtable to handle implicit list comp vars.
Index: symtable.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/symtable.h,v
retrieving revision 2.9.18.6
retrieving revision 2.9.18.7
diff -C2 -d -r2.9.18.6 -r2.9.18.7
*** symtable.h 21 Oct 2002 21:26:52 -0000 2.9.18.6
--- symtable.h 27 Mar 2003 20:44:40 -0000 2.9.18.7
***************
*** 38,41 ****
--- 38,42 ----
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 */
struct symtable *ste_table;
} PySTEntryObject;