diff Parser/pgen.c @ 28646:193b8aec00ce legacy-trunk

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.
author Guido van Rossum <guido@python.org>
date Thu, 17 Apr 2003 14:55:42 +0000
parents 98d1071362f0
children c85a9ec5796c
line wrap: on
line diff
--- a/Parser/pgen.c	Thu Apr 17 13:13:55 2003 +0000
+++ b/Parser/pgen.c	Thu Apr 17 14:55:42 2003 +0000
@@ -669,6 +669,11 @@
 	return g;
 }
 
+grammar *
+Py_pgen(node *n)
+{
+  return pgen(n);
+}
 
 /*