diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-01 12:56:29 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-01 12:56:29 +0000 |
| commit | 19ffc6371c06983fd437b73512101ccc3b14bac2 (patch) | |
| tree | 3aedd35c5c4b8c3def6993419bfc655ca03316b4 /include/ruby | |
| parent | 638a7a9c546f867882ee3d19af458bb25f62fb01 (diff) | |
| download | ruby-19ffc6371c06983fd437b73512101ccc3b14bac2.tar.gz ruby-19ffc6371c06983fd437b73512101ccc3b14bac2.tar.xz ruby-19ffc6371c06983fd437b73512101ccc3b14bac2.zip | |
* eval_jump.ci (rb_f_catch): generate new tag object if no argument is
given. backported from MatzRuby. [ruby-dev:31609]
* eval_jump.ci (rb_catch): call #catch without arguments if tag
string is NULL.
* eval_jump.ci (rb_f_throw): allow throwing non-symbol object.
* eval.c (rb_catch_obj): new function to wait throw with arbitrary
object.
* eval.c (rb_throw_obj): new function to throw arbitrary object.
* variable.c (check_autoload_table): prevent multiple calls from
RSTRING_PTR().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
