[pypy-svn] r9571 - pypy/dist/pypy/translator

tismer at codespeak.net tismer at codespeak.net
Tue Mar 1 22:25:36 CET 2005


Author: tismer
Date: Tue Mar  1 22:25:36 2005
New Revision: 9571

Modified:
   pypy/dist/pypy/translator/genc.py
Log:
there seems to be another name clashingproblem. I disabled the feature for the moment, everything works like before.

Modified: pypy/dist/pypy/translator/genc.py
==============================================================================
--- pypy/dist/pypy/translator/genc.py	(original)
+++ pypy/dist/pypy/translator/genc.py	Tue Mar  1 22:25:36 2005
@@ -689,6 +689,9 @@
         # This is intermediate. Common code will be extracted into a base class.
         if isinstance(v, Variable):
             n = v.name
+            # there is a problem at the moment.
+            # use the name as is until this is solved
+            return v.name
             if n.startswith("v") and n[1:].isdigit():
                 ret = localnames.get(v.name)
                 if not ret:



More information about the Pypy-commit mailing list