minor fix
authorRobert Bradshaw <robertwb@math.washington.edu>
Wed, 6 Jan 2010 18:35:35 +0000 (10:35 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Wed, 6 Jan 2010 18:35:35 +0000 (10:35 -0800)
Cython/Compiler/Nodes.py

index dd3ee330ee5753748bf1e3eeb67b51c999a81ee7..11a8fc80ef2000d84d09d2c922bd7d1be1b02edb 100644 (file)
@@ -4547,9 +4547,9 @@ class TryFinallyStatNode(StatNode):
                     Naming.exc_vars)
         code.putln(
                 "%s = %s;" % (
+                    Naming.exc_lineno_name, Naming.lineno_cname))
         code.put_goto(catch_label)
-        code.putln(
-            "}")
+        code.putln("}")
             
     def put_error_uncatcher(self, code, i, error_label):
         code.globalstate.use_utility_code(restore_exception_utility_code)