Permalink
Browse files

does not take out the exception in `next` node. fix the `next` issue …

…of #1484.

it does not escape by `next` from `rescue` block directly.
and the exception is taken out in `rescue` node.

it was too taken out than the number of exception.
  • Loading branch information...
Watson1978 committed Mar 16, 2012
1 parent 438c76f commit 3d116e2fa7c13265aa3c9e72352e1c4a7b57d492
Showing with 0 additions and 3 deletions.
  1. +0 −3 compiler.cpp
View
@@ -2058,9 +2058,6 @@ RoxorCompiler::compile_jump(NODE *node)
break;
case NODE_NEXT:
- if (current_rescue) {
- compile_landing_pad_footer();
- }
if (within_loop) {
if (ensure_node != NULL) {
compile_node(ensure_node);

0 comments on commit 3d116e2

Please sign in to comment.