Kaydet (Commit) c0fd1c0b authored tarafından Guido van Rossum's avatar Guido van Rossum

fix argcount bug for build_node_children

üst ca42b167
...@@ -647,7 +647,7 @@ build_node_children(tuple, root, line_num) ...@@ -647,7 +647,7 @@ build_node_children(tuple, root, line_num)
if (ISNONTERMINAL(type)) { if (ISNONTERMINAL(type)) {
node* new_child = CHILD(root, i - 1); 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); return (0);
} }
else if (type == NEWLINE) /* It's true: we increment the */ else if (type == NEWLINE) /* It's true: we increment the */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment