[Python-checkins] CVS: python/dist/src/Parser parser.c,2.18.8.1,2.18.8.2
Tim Peters
tim_one@users.sourceforge.net
Fri, 20 Jul 2001 23:07:16 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.112.2.4,2.112.2.5 intobject.c,2.56.6.7,2.56.6.8 unicodeobject.c,2.87.2.5,2.87.2.6
- Next message: [Python-checkins] CVS: python/dist/src/Modules _cursesmodule.c,2.51.4.2,2.51.4.3 addrinfo.h,1.1.2.1,1.1.2.2 getaddrinfo.c,1.1.2.1,1.1.2.2 main.c,1.52.4.2,1.52.4.3 parsermodule.c,2.60.6.3,2.60.6.4 pcremodule.c,2.25.8.2,2.25.8.3 posixmodule.c,2.187.4.3,2.187.4.4 selectmodule.c,2.50.6.2,2.50.6.3 signalmodule.c,2.58,2.58.6.1 socketmodule.c,1.141.4.1,1.141.4.2 structmodule.c,2.42.4.1,2.42.4.2 unicodedata.c,2.12,2.12.6.1 xreadlinesmodule.c,1.5.4.1,1.5.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Parser
In directory usw-pr-cvs1:/tmp/cvs-serv27169/descr/dist/src/Parser
Modified Files:
Tag: descr-branch
parser.c
Log Message:
Merge of trunk delta date2001-07-17b to date2001-07-21. See PLAN.txt.
Index: parser.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/parser.c,v
retrieving revision 2.18.8.1
retrieving revision 2.18.8.2
diff -C2 -r2.18.8.1 -r2.18.8.2
*** parser.c 2001/07/16 21:41:07 2.18.8.1
--- parser.c 2001/07/21 06:07:14 2.18.8.2
***************
*** 176,179 ****
--- 176,180 ----
node *n = ps->p_stack.s_top->s_parent;
node *ch;
+ int i;
if (strcmp(STR(CHILD(n, 0)), "from") != 0)
***************
*** 182,188 ****
if (strcmp(STR(CHILD(ch, 0)), "__future__") != 0)
return;
! ch = CHILD(n, 3);
! if (NCH(ch) == 1 && strcmp(STR(CHILD(ch, 0)), "generators") == 0)
! ps->p_generators = 1;
}
--- 183,194 ----
if (strcmp(STR(CHILD(ch, 0)), "__future__") != 0)
return;
! for (i = 3; i < NCH(n); i += 2) {
! ch = CHILD(n, i);
! if (NCH(ch) >= 1 && TYPE(CHILD(ch, 0)) == NAME &&
! strcmp(STR(CHILD(ch, 0)), "generators") == 0) {
! ps->p_generators = 1;
! break;
! }
! }
}
- Previous message: [Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.112.2.4,2.112.2.5 intobject.c,2.56.6.7,2.56.6.8 unicodeobject.c,2.87.2.5,2.87.2.6
- Next message: [Python-checkins] CVS: python/dist/src/Modules _cursesmodule.c,2.51.4.2,2.51.4.3 addrinfo.h,1.1.2.1,1.1.2.2 getaddrinfo.c,1.1.2.1,1.1.2.2 main.c,1.52.4.2,1.52.4.3 parsermodule.c,2.60.6.3,2.60.6.4 pcremodule.c,2.25.8.2,2.25.8.3 posixmodule.c,2.187.4.3,2.187.4.4 selectmodule.c,2.50.6.2,2.50.6.3 signalmodule.c,2.58,2.58.6.1 socketmodule.c,1.141.4.1,1.141.4.2 structmodule.c,2.42.4.1,2.42.4.2 unicodedata.c,2.12,2.12.6.1 xreadlinesmodule.c,1.5.4.1,1.5.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]