summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.h
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-04-13 16:05:14 (GMT)
committerGitHub <noreply@github.com>2019-04-13 16:05:14 (GMT)
commitf2cf1e3e2892a6326949c2570f1bb6d6c95715fb (patch)
treebc8ec61893d284fe2e805191b2ba3c4a59a43879 /Parser/tokenizer.h
parentf8716c88f13f035c126fc1db499ae0ea309c7ece (diff)
downloadcpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.zip
cpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.tar.gz
cpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.tar.bz2
bpo-36623: Clean parser headers and include files (GH-12253)
After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around.
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r--Parser/tokenizer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h
index 06c7a14..92669bf 100644
--- a/Parser/tokenizer.h
+++ b/Parser/tokenizer.h
@@ -80,6 +80,8 @@ extern struct tok_state *PyTokenizer_FromFile(FILE *, const char*,
extern void PyTokenizer_Free(struct tok_state *);
extern int PyTokenizer_Get(struct tok_state *, char **, char **);
+#define tok_dump _Py_tok_dump
+
#ifdef __cplusplus
}
#endif