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

benjamin at codespeak.net benjamin at codespeak.net
Wed Jul 15 21:47:21 CEST 2009


Author: benjamin
Date: Wed Jul 15 21:47:21 2009
New Revision: 66254

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/pyparser/pytokenizer.py
Log:
fix argument order

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



More information about the Pypy-commit mailing list