commit | d3ab37f1df86b86d340360412331078a1da63d58 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 17 14:55:42 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 17 14:55:42 2003 +0000 |
tree | 27d47aa3323156dda762db527d6247b0f86b6367 | |
parent | 6e5be22d9747b7d8ebc2b09a3d5492f00ab296eb [diff] [blame] |
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.
diff --git a/Parser/pgen.c b/Parser/pgen.c index f3fdb46..453deb4 100644 --- a/Parser/pgen.c +++ b/Parser/pgen.c
@@ -669,6 +669,11 @@ return g; } +grammar * +Py_pgen(node *n) +{ + return pgen(n); +} /*