summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 789a10b..705da00 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -995,6 +995,7 @@ tok_underflow_file(struct tok_state *tok) {
return tok->done == E_OK;
}
+#if defined(Py_DEBUG)
static void
print_escape(FILE *f, const char *s, Py_ssize_t size)
{
@@ -1021,6 +1022,7 @@ print_escape(FILE *f, const char *s, Py_ssize_t size)
}
putc('"', f);
}
+#endif
/* Get next char, updating state; error code goes into tok->done */