diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 465fa25759e..3db3431c732 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -266,7 +266,7 @@ parser_compare_nodes(left, right) for (j = 0; j < NCH(left); ++j) { int v = parser_compare_nodes(CHILD(left, j), CHILD(right, j)); - if (v != NULL) + if (v != 0) return (v); } return (0);