| commit | b28f6e7c7bbad58e23304e00c5c730bd44b50ba0 | [log] [tgz] |
|---|---|---|
| author | Martin v. Löwis <martin@v.loewis.de> | Sat Jun 23 19:55:38 2001 +0000 |
| committer | Martin v. Löwis <martin@v.loewis.de> | Sat Jun 23 19:55:38 2001 +0000 |
| tree | b7cec475951a1cea5d162ba21c80998509d6fd1d | |
| parent | 01dfdb3d354877db551a9da7138cad8d96a215a3 [diff] |
Properly use &&. Closes bug #434989.
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 030b5cd..13fdfae 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c
@@ -2524,7 +2524,7 @@ int res = 1; /* result value */ node* next = 0; /* node to process after this one */ - while (res & (tree != 0)) { + while (res && (tree != 0)) { nch = NCH(tree); next = 0; switch (TYPE(tree)) {