[pypy-svn] r65750 - pypy/branch/parser-compiler/pypy/interpreter/pyparser

benjamin at codespeak.net benjamin at codespeak.net
Fri Jun 12 19:00:27 CEST 2009


Author: benjamin
Date: Fri Jun 12 19:00:25 2009
New Revision: 65750

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/pyparser/pytokenizer.py
Log:
fix oversight in converting tokenizer

Modified: pypy/branch/parser-compiler/pypy/interpreter/pyparser/pytokenizer.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/pyparser/pytokenizer.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/pyparser/pytokenizer.py	Fri Jun 12 19:00:25 2009
@@ -223,7 +223,7 @@
                         punct = python_opmap[token]
                         token = ""
                     else:
-                        punct = parser.tokens['OP']
+                        punct = tokens.OP
                     token_list.append((punct, token, lnum, pos, line))
                     last_comment = ''
             else:



More information about the Pypy-commit mailing list