[Python-checkins] CVS: python/dist/src/Include symtable.h,2.6,2.7

Jeremy Hylton jhylton@users.sourceforge.net
2001年3月21日 19:58:00 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv4870/Include
Modified Files:
	symtable.h 
Log Message:
Set the line number correctly for a nested function with an exec or
import *. Mark the offending stmt rather than the function def line.
Index: symtable.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/symtable.h,v
retrieving revision 2.6
retrieving revision 2.7
diff -C2 -r2.6 -r2.7
*** symtable.h	2001年02月28日 23:03:39	2.6
--- symtable.h	2001年03月22日 03:57:58	2.7
***************
*** 47,50 ****
--- 47,51 ----
 	int ste_child_free; /* true if a child scope has free variables,
 				 including free refs to globals */
+ 	int ste_opt_lineno; /* lineno of last exec or import * */
 	struct symtable *ste_table;
 } PySymtableEntryObject;

AltStyle によって変換されたページ (->オリジナル) /