[pypy-svn] r14249 - pypy/dist/pypy/interpreter/stablecompiler

ludal at codespeak.net ludal at codespeak.net
Mon Jul 4 21:03:10 CEST 2005


Author: ludal
Date: Mon Jul  4 21:03:09 2005
New Revision: 14249

Modified:
   pypy/dist/pypy/interpreter/stablecompiler/transformer.py
Log:
make sure we import the parser with the correct grammar before instanciating Transformer



Modified: pypy/dist/pypy/interpreter/stablecompiler/transformer.py
==============================================================================
--- pypy/dist/pypy/interpreter/stablecompiler/transformer.py	(original)
+++ pypy/dist/pypy/interpreter/stablecompiler/transformer.py	Mon Jul  4 21:03:09 2005
@@ -30,7 +30,8 @@
 import symbol
 import token
 import sys
-
+# make sure we import the parser with the correct grammar
+import pypy.interpreter.pyparser.pythonparse
 
 class WalkerError(StandardError):
     pass



More information about the Pypy-commit mailing list