[Python-checkins] CVS: python/dist/src/Include symtable.h,2.1,2.2
Jeremy Hylton
jhylton@users.sourceforge.net
Fri, 02 Feb 2001 12:01:12 -0800
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv13654/Include
Modified Files:
symtable.h
Log Message:
Fix symbol table pass to generation SyntaxError exceptions that
include the filename and line number.
Index: symtable.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/symtable.h,v
retrieving revision 2.1
retrieving revision 2.2
diff -C2 -r2.1 -r2.2
*** symtable.h 2001/02/02 18:19:15 2.1
--- symtable.h 2001/02/02 20:01:09 2.2
***************
*** 44,47 ****
--- 44,48 ----
int st_pass; /* pass == 1 or 2 */
int st_keep; /* true if symtable will be returned */
+ char *st_filename; /* name of file being compiled */
PyObject *st_symbols; /* dictionary of symbol tables */
PyObject *st_varnames; /* dictionary of parameter lists */