[pypy-svn] r44530 - pypy/dist/pypy/rlib/parsing

cfbolz at codespeak.net cfbolz at codespeak.net
Mon Jun 25 22:44:16 CEST 2007


Author: cfbolz
Date: Mon Jun 25 22:44:15 2007
New Revision: 44530

Modified:
   pypy/dist/pypy/rlib/parsing/makepackrat.py
Log:
safe one of the initializations of _error


Modified: pypy/dist/pypy/rlib/parsing/makepackrat.py
==============================================================================
--- pypy/dist/pypy/rlib/parsing/makepackrat.py	(original)
+++ pypy/dist/pypy/rlib/parsing/makepackrat.py	Mon Jun 25 22:44:15 2007
@@ -449,7 +449,6 @@
         possibilities = t.children
         if len(possibilities) > 1:
             self.start_block("while 1:")
-            self.emit("_error = None")
         for i, p in enumerate(possibilities):
             c = self.choice_point()
             for _ in self.start_block("try:"):



More information about the Pypy-commit mailing list