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

benjamin at codespeak.net benjamin at codespeak.net
Fri Jul 17 22:09:38 CEST 2009


Author: benjamin
Date: Fri Jul 17 22:09:37 2009
New Revision: 66328

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/pyparser/parser.py
Log:
let the annotator see this variable

Modified: pypy/branch/parser-compiler/pypy/interpreter/pyparser/parser.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/pyparser/parser.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/pyparser/parser.py	Fri Jul 17 22:09:37 2009
@@ -97,6 +97,7 @@
 
     def add_token(self, token_type, value, lineno, column, line):
         label_index = self.classify(token_type, value, lineno, column, line)
+        sym_id = 0 # for the annotator
         while True:
             dfa, state_index, node = self.stack[-1]
             states, first = dfa



More information about the Pypy-commit mailing list