From: Stefan Behnel Date: Tue, 20 Jul 2010 18:59:42 +0000 (+0200) Subject: fix code annotation of 'finally' block X-Git-Tag: 0.13.beta0~2^2~5 X-Git-Url: http://git.tremily.us/?p=cython.git;a=commitdiff_plain;h=f8fb4809751d243e90e366f408733bf77ba821bf fix code annotation of 'finally' block --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index c91aa80c..716bfe82 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -4906,6 +4906,7 @@ class TryFinallyStatNode(StatNode): code.putln( "}") temps_to_clean_up = code.funcstate.all_free_managed_temps() + code.mark_pos(self.finally_clause.pos) code.putln( "/*finally:*/ {") cases_used = []