mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (return_jump, break_jump): raise unexpceted local jump
exception directly. [ruby-dev:23740] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5fb266b5c0
commit
e1ae794e73
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jul 16 15:21:30 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (return_jump, break_jump): raise unexpceted local jump
|
||||
exception directly. [ruby-dev:23740]
|
||||
|
||||
Fri Jul 16 11:31:49 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* lib/test/unit/ui/{fox,gtk,gtk2}/testrunner.rb: remove
|
||||
|
|
4
eval.c
4
eval.c
|
@ -4586,7 +4586,7 @@ return_jump(retval)
|
|||
}
|
||||
tt = tt->prev;
|
||||
}
|
||||
proc_jump_error(TAG_RETURN, retval);
|
||||
localjump_error("unexpected return", retval, TAG_RETURN);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -4612,7 +4612,7 @@ break_jump(retval)
|
|||
}
|
||||
tt = tt->prev;
|
||||
}
|
||||
proc_jump_error(TAG_BREAK, retval);
|
||||
localjump_error("unexpected break", retval, TAG_BREAK);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue