Commit f8fb4809 authored by Stefan Behnel's avatar Stefan Behnel

fix code annotation of 'finally' block

parent ffcca353
...@@ -4906,6 +4906,7 @@ class TryFinallyStatNode(StatNode): ...@@ -4906,6 +4906,7 @@ class TryFinallyStatNode(StatNode):
code.putln( code.putln(
"}") "}")
temps_to_clean_up = code.funcstate.all_free_managed_temps() temps_to_clean_up = code.funcstate.all_free_managed_temps()
code.mark_pos(self.finally_clause.pos)
code.putln( code.putln(
"/*finally:*/ {") "/*finally:*/ {")
cases_used = [] cases_used = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment