mirror of https://github.com/python/cpython
Fix for SF 780407.
Change %08l to %p to print a pointer. Will backport to 2.3.
This commit is contained in:
parent
70d172dda4
commit
c69661725a
|
@ -104,7 +104,7 @@ addlabel(labellist *ll, int type, char *str)
|
|||
lb->lb_type = type;
|
||||
lb->lb_str = strdup(str);
|
||||
if (Py_DebugFlag)
|
||||
printf("Label @ %08x, %d: %s\n", (unsigned)ll, ll->ll_nlabels,
|
||||
printf("Label @ %8p, %d: %s\n", ll, ll->ll_nlabels,
|
||||
PyGrammar_LabelRepr(lb));
|
||||
return lb - ll->ll_label;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue