[Python-checkins] CVS: python/dist/src/Modules parsermodule.c,2.60,2.60.4.1
Anthony Baxter
anthonybaxter@users.sourceforge.net
Thu, 01 Nov 2001 04:48:30 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv17336
Modified Files:
Tag: release21-maint
parsermodule.c
Log Message:
backport 2.61.
Properly use &&. Closes bug #434989.
Index: parsermodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/parsermodule.c,v
retrieving revision 2.60
retrieving revision 2.60.4.1
diff -C2 -d -r2.60 -r2.60.4.1
*** parsermodule.c 2001/01/07 05:59:59 2.60
--- parsermodule.c 2001/11/01 12:48:28 2.60.4.1
***************
*** 2525,2529 ****
node* next = 0; /* node to process after this one */
! while (res & (tree != 0)) {
nch = NCH(tree);
next = 0;
--- 2525,2529 ----
node* next = 0; /* node to process after this one */
! while (res && (tree != 0)) {
nch = NCH(tree);
next = 0;