[pypy-svn] r65875 - pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools

benjamin at codespeak.net benjamin at codespeak.net
Tue Jun 23 04:41:48 CEST 2009


Author: benjamin
Date: Tue Jun 23 04:41:46 2009
New Revision: 65875

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools/asdl_py.py
Log:
fix variable name

Modified: pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools/asdl_py.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools/asdl_py.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools/asdl_py.py	Tue Jun 23 04:41:46 2009
@@ -67,7 +67,7 @@
         self.make_constructor(product.fields)
         self.emit("")
         self.emit("def walkabout(self, visitor):", 1)
-        self.emit("visit.visit_%s(self)" % (name,), 2)
+        self.emit("visitor.visit_%s(self)" % (name,), 2)
 
     def make_constructor(self, fields):
         if fields:



More information about the Pypy-commit mailing list