]> granicus.if.org Git - python/commitdiff
fix argcount bug for build_node_children
authorGuido van Rossum <guido@python.org>
Fri, 12 Jan 1996 01:37:02 +0000 (01:37 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 12 Jan 1996 01:37:02 +0000 (01:37 +0000)
Modules/parsermodule.c

index db478ade95c3dd46fd77e53c4c2f454a8f159bb5..c057135f0113f616409d9478e87ada2e24ebee88 100644 (file)
@@ -647,7 +647,7 @@ build_node_children(tuple, root, line_num)
        if (ISNONTERMINAL(type)) {
            node* new_child = CHILD(root, i - 1);
 
-           if (new_child != build_node_children(elem, new_child))
+           if (new_child != build_node_children(elem, new_child, line_num))
                return (0);
        }
        else if (type == NEWLINE)       /* It's true:  we increment the     */