summaryrefslogtreecommitdiffstats
path: root/Modules/parsermodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-01-12 01:37:02 (GMT)
committerGuido van Rossum <guido@python.org>1996-01-12 01:37:02 (GMT)
commitc0fd1c0b8313583cf81d413d5a55a61ffe9e11cf (patch)
treed9f6557d24900044b70508f06692074348b69c72 /Modules/parsermodule.c
parentca42b1673b09a1abee2f60015637fed94b8aabd8 (diff)
downloadcpython-c0fd1c0b8313583cf81d413d5a55a61ffe9e11cf.zip
cpython-c0fd1c0b8313583cf81d413d5a55a61ffe9e11cf.tar.gz
cpython-c0fd1c0b8313583cf81d413d5a55a61ffe9e11cf.tar.bz2
fix argcount bug for build_node_children
Diffstat (limited to 'Modules/parsermodule.c')
-rw-r--r--Modules/parsermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index db478ad..c057135 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -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 */