summaryrefslogtreecommitdiff
path: root/Parser/pgen.c
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
parent6e5be22d9747b7d8ebc2b09a3d5492f00ab296eb (diff)
downloadcpython-git-d3ab37f1df86b86d340360412331078a1da63d58.tar.gz
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 f3fdb46d1e..453deb43f8 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);
+}
/*