summaryrefslogtreecommitdiff
path: root/Parser/parser.h
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-04-13 17:05:14 +0100
committerGitHub <noreply@github.com>2019-04-13 17:05:14 +0100
commitf2cf1e3e2892a6326949c2570f1bb6d6c95715fb (patch)
treebc8ec61893d284fe2e805191b2ba3c4a59a43879 /Parser/parser.h
parentf8716c88f13f035c126fc1db499ae0ea309c7ece (diff)
downloadcpython-git-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.tar.gz
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/parser.h')
-rw-r--r--Parser/parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Parser/parser.h b/Parser/parser.h
index aee1c86cb0..ebb06c2b19 100644
--- a/Parser/parser.h
+++ b/Parser/parser.h
@@ -38,6 +38,11 @@ int PyParser_AddToken(parser_state *ps, int type, char *str,
int *expected_ret);
void PyGrammar_AddAccelerators(grammar *g);
+
+#define showtree _Py_showtree
+#define printtree _Py_printtree
+#define dumptree _Py_dumptree
+
#ifdef __cplusplus
}
#endif