diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index ae3874b09de..789a10b28fd 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1043,11 +1043,13 @@ tok_nextc(struct tok_state *tok) else { rc = tok_underflow_file(tok); } +#if defined(Py_DEBUG) if (Py_DebugFlag) { printf("line[%d] = ", tok->lineno); print_escape(stdout, tok->cur, tok->inp - tok->cur); printf(" tok->done = %d\n", tok->done); } +#endif if (!rc) { tok->cur = tok->inp; return EOF;