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

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Jan 2 16:10:17 CET 2008


Author: cfbolz
Date: Wed Jan  2 16:10:17 2008
New Revision: 50260

Modified:
   pypy/dist/pypy/interpreter/pyparser/ebnfparse.py
Log:
I am pretty sure that these constants are never used


Modified: pypy/dist/pypy/interpreter/pyparser/ebnfparse.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyparser/ebnfparse.py	(original)
+++ pypy/dist/pypy/interpreter/pyparser/ebnfparse.py	Wed Jan  2 16:10:17 2008
@@ -27,17 +27,6 @@
     return True
 
 
-punct=['>=', '<>', '!=', '<', '>', '<=', '==', '\\*=',
-       '//=', '%=', '^=', '<<=', '\\*\\*=', '\\', '=',
-       '\\+=', '>>=', '=', '&=', '/=', '-=', '\n,', '^',
-       '>>', '&', '\\+', '\\*', '-', '/', '\\.', '\\*\\*',
-       '%', '<<', '//', '\\', '', '\n\\)', '\\(', ';', ':',
-       '@', '\\[', '\\]', '`', '\\{', '\\}']
-
-TERMINALS = ['NAME', 'NUMBER', 'STRING', 'NEWLINE', 'ENDMARKER',
-             'INDENT', 'DEDENT' ]
-
-
 class NameToken(Token):
     """A token that is not a keyword"""
     def __init__(self, parser):



More information about the Pypy-commit mailing list