summaryrefslogtreecommitdiffstats
path: root/Parser/parser.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-03 20:46:37 (GMT)
committerGuido van Rossum <guido@python.org>1992-09-03 20:46:37 (GMT)
commitcf7448bfa0d1213b7652d4062d721b38288d14d2 (patch)
treea344b78805e022ef3054182559e24505b6536e87 /Parser/parser.c
parent3702284d2acc09fbb04ca68a400ba30a912d1c71 (diff)
downloadcpython-cf7448bfa0d1213b7652d4062d721b38288d14d2.zip
cpython-cf7448bfa0d1213b7652d4062d721b38288d14d2.tar.gz
cpython-cf7448bfa0d1213b7652d4062d721b38288d14d2.tar.bz2
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 9ae2702..7d053c9 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("(");