[pypy-svn] r27766 - pypy/dist/pypy/translator/cl

sanxiyn at codespeak.net sanxiyn at codespeak.net
Sat May 27 17:17:59 CEST 2006


Author: sanxiyn
Date: Sat May 27 17:17:56 2006
New Revision: 27766

Modified:
   pypy/dist/pypy/translator/cl/gencl.py
Log:
oops


Modified: pypy/dist/pypy/translator/cl/gencl.py
==============================================================================
--- pypy/dist/pypy/translator/cl/gencl.py	(original)
+++ pypy/dist/pypy/translator/cl/gencl.py	Sat May 27 17:17:56 2006
@@ -245,7 +245,7 @@
     def emit_block(self, block):
         tag = self.blockref[block]
         yield "tag" + clrepr(str(tag), True)
-        handle_exc = block.exitswith == c_last_exception
+        handle_exc = block.exitswitch == c_last_exception
         if handle_exc:
             yield "(handler-case (progn"
         for op in block.operations:



More information about the Pypy-commit mailing list