[Python-checkins] python/dist/src/Python symtable.c,2.17,2.18

nnorwitz@users.sourceforge.net nnorwitz at users.sourceforge.net
Mon Oct 24 02:30:47 CEST 2005


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29439/Python

Modified Files:
	symtable.c 
Log Message:
Do not pollute name block_ty, prefix with _Py_

Index: symtable.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/symtable.c,v
retrieving revision 2.17
retrieving revision 2.18
diff -u -d -r2.17 -r2.18
--- symtable.c	23 Oct 2005 18:50:36 -0000	2.17
+++ symtable.c	24 Oct 2005 00:30:44 -0000	2.18
@@ -12,7 +12,7 @@
 "name '%.400s' is used prior to global declaration"
 
 PySTEntryObject *
-PySTEntry_New(struct symtable *st, identifier name, block_ty block,
+PySTEntry_New(struct symtable *st, identifier name, _Py_block_ty block,
 	      void *key, int lineno)
 {
 	PySTEntryObject *ste = NULL;
@@ -153,7 +153,7 @@
 static int symtable_analyze(struct symtable *st);
 static int symtable_warn(struct symtable *st, char *msg);
 static int symtable_enter_block(struct symtable *st, identifier name, 
-				block_ty block, void *ast, int lineno);
+				_Py_block_ty block, void *ast, int lineno);
 static int symtable_exit_block(struct symtable *st, void *ast);
 static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
 static int symtable_visit_expr(struct symtable *st, expr_ty s);
@@ -711,7 +711,7 @@
 }
 
 static int
-symtable_enter_block(struct symtable *st, identifier name, block_ty block, 
+symtable_enter_block(struct symtable *st, identifier name, _Py_block_ty block, 
 		     void *ast, int lineno)
 {
 	PySTEntryObject *prev = NULL;



More information about the Python-checkins mailing list