From: Guido van Rossum Date: Thu, 3 Sep 1992 20:46:37 +0000 (+0000) Subject: Correct debug printing code X-Git-Tag: v0.9.8~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf7448bfa0d1213b7652d4062d721b38288d14d2;p=thirdparty%2FPython%2Fcpython.git Correct debug printing code --- diff --git a/Parser/parser.c b/Parser/parser.c index 9ae2702c79d0..7d053c9a0bce 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("(");