summaryrefslogtreecommitdiff
path: root/Parser/parser.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-03 20:46:37 +0000
committerGuido van Rossum <guido@python.org>1992-09-03 20:46:37 +0000
commitcf7448bfa0d1213b7652d4062d721b38288d14d2 (patch)
treea344b78805e022ef3054182559e24505b6536e87 /Parser/parser.c
parent3702284d2acc09fbb04ca68a400ba30a912d1c71 (diff)
downloadcpython-git-cf7448bfa0d1213b7652d4062d721b38288d14d2.tar.gz
Correct debug printing code
Diffstat (limited to 'Parser/parser.c')
-rw-r--r--Parser/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/parser.c b/Parser/parser.c
index 9ae2702c79..7d053c9a0b 100644
--- a/Parser/parser.c
+++ b/Parser/parser.c
@@ -320,7 +320,7 @@ dumptree(g, n)
else {
label l;
l.lb_type = TYPE(n);
- l.lb_str = TYPE(str);
+ l.lb_str = STR(n);
printf("%s", labelrepr(&l));
if (ISNONTERMINAL(TYPE(n))) {
printf("(");