[pypy-svn] r46690 - pypy/dist/pypy/interpreter/pyparser

arigo at codespeak.net arigo at codespeak.net
Mon Sep 17 11:21:22 CEST 2007


Author: arigo
Date: Mon Sep 17 11:21:21 2007
New Revision: 46690

Modified:
   pypy/dist/pypy/interpreter/pyparser/pythonlexer.py
Log:
Fix.


Modified: pypy/dist/pypy/interpreter/pyparser/pythonlexer.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyparser/pythonlexer.py	(original)
+++ pypy/dist/pypy/interpreter/pyparser/pythonlexer.py	Mon Sep 17 11:21:21 2007
@@ -371,7 +371,7 @@
 
     def get_source_text(self, p0, p1):
         "We get passed two token stack positions."
-        return "XXX this got left behind in a refactoring. Stack positions are %d and %d" % (p1, p2)
+        return "XXX this got left behind in a refactoring. Stack positions are %d and %d" % (p0, p1)
         
     def debug(self):
         """return context for debug information"""



More information about the Pypy-commit mailing list