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

benjamin at codespeak.net benjamin at codespeak.net
Fri Jul 17 22:16:41 CEST 2009


Author: benjamin
Date: Fri Jul 17 22:16:40 2009
New Revision: 66329

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/pyparser/pytokenizer.py
Log:
typo

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 Jul 17 22:16:40 2009
@@ -226,7 +226,7 @@
                 if start<max and line[start] in single_quoted:
                     raise TokenError("EOL while scanning single-quoted string",
                              line, lnum, start, token_list)
-                tok = (tokens.ERRORTOKEN, line[pos], lnum, pos, lines)
+                tok = (tokens.ERRORTOKEN, line[pos], lnum, pos, line)
                 token_list.append(tok)
                 last_comment = ''
                 pos = pos + 1



More information about the Pypy-commit mailing list