[Python-checkins] python/dist/src/Python newcompile.c, 1.1.2.70,
1.1.2.71
jhylton at users.sourceforge.net
jhylton at users.sourceforge.net
Sat Feb 14 23:14:06 EST 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5850
Modified Files:
Tag: ast-branch
newcompile.c
Log Message:
Remove compiler_name().
It was only used in one place and compiler_nameop() could be used
directly there.
Index: newcompile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/newcompile.c,v
retrieving revision 1.1.2.70
retrieving revision 1.1.2.71
diff -C2 -d -r1.1.2.70 -r1.1.2.71
*** newcompile.c 9 Feb 2004 22:23:25 -0000 1.1.2.70
--- newcompile.c 15 Feb 2004 04:14:03 -0000 1.1.2.71
***************
*** 1715,1724 ****
static int
- compiler_name(struct compiler *c, expr_ty e)
- {
- return compiler_nameop(c, e->v.Name.id, e->v.Name.ctx);
- }
-
- static int
compiler_boolop(struct compiler *c, expr_ty e)
{
--- 1715,1718 ----
***************
*** 2057,2061 ****
break;
case Name_kind:
! return compiler_name(c, e);
/* child nodes of List and Tuple will have expr_context set */
case List_kind:
--- 2051,2055 ----
break;
case Name_kind:
! return compiler_nameop(c, e->v.Name.id, e->v.Name.ctx);
/* child nodes of List and Tuple will have expr_context set */
case List_kind:
More information about the Python-checkins
mailing list