diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-06-23 19:55:38 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-06-23 19:55:38 (GMT) |
commit | b28f6e7c7bbad58e23304e00c5c730bd44b50ba0 (patch) | |
tree | b7cec475951a1cea5d162ba21c80998509d6fd1d /Modules | |
parent | 01dfdb3d354877db551a9da7138cad8d96a215a3 (diff) | |
download | cpython-b28f6e7c7bbad58e23304e00c5c730bd44b50ba0.zip cpython-b28f6e7c7bbad58e23304e00c5c730bd44b50ba0.tar.gz cpython-b28f6e7c7bbad58e23304e00c5c730bd44b50ba0.tar.bz2 |
Properly use &&. Closes bug #434989.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/parsermodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ validate_node(node *tree) 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)) { |