aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-04-17 14:55:42 +0000
committerGuido van Rossum <guido@python.org>2003-04-17 14:55:42 +0000
commitd3ab37f1df86b86d340360412331078a1da63d58 (patch)
tree27d47aa3323156dda762db527d6247b0f86b6367 /Parser/pgen.c
parentRemove extra space in docstring (diff)
downloadcpython-d3ab37f1df86b86d340360412331078a1da63d58.tar.gz
cpython-d3ab37f1df86b86d340360412331078a1da63d58.tar.bz2
cpython-d3ab37f1df86b86d340360412331078a1da63d58.zip
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
work. This includes some more code that used to be part of pgen in the main parser; I'm okay with that. I'll see if the Windows build needs work next.
Diffstat (limited to 'Parser/pgen.c')
-rw-r--r--Parser/pgen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index f3fdb46d1e1..453deb43f80 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -669,6 +669,11 @@ pgen(node *n)
return g;
}
+grammar *
+Py_pgen(node *n)
+{
+ return pgen(n);
+}
/*