[Python-checkins] python/dist/src/Python newcompile.c,1.1.2.22,1.1.2.23
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Mon, 24 Mar 2003 15:42:02 -0800
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv1117
Modified Files:
Tag: ast-branch
newcompile.c
Log Message:
Add code generation for string constants.
Index: newcompile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/newcompile.c,v
retrieving revision 1.1.2.22
retrieving revision 1.1.2.23
diff -C2 -d -r1.1.2.22 -r1.1.2.23
*** newcompile.c 24 Mar 2003 23:37:46 -0000 1.1.2.22
--- newcompile.c 24 Mar 2003 23:41:57 -0000 1.1.2.23
***************
*** 1215,1218 ****
--- 1215,1219 ----
break;
case Str_kind:
+ ADDOP_O(c, LOAD_CONST, e->v.Str.s, consts);
break;
/* The following exprs can be assignment targets. */