diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-29 19:17:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-29 19:17:18 +0000 |
commit | 87e215b55db9c387090264c4d9497f31a00c803c (patch) | |
tree | 4cb7c2135f1e4b6fcfbf4b838c538da62747a616 /eval.c | |
parent | 06eeec8a40fb9b78a2583fafe6247ed8c771ebcf (diff) | |
download | ruby-87e215b55db9c387090264c4d9497f31a00c803c.tar.gz |
* eval.c (rb_eval_cmd): just return if no exceptions.
[ruby-dev:30820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -333,7 +333,7 @@ rb_eval_cmd(VALUE cmd, VALUE arg, int level) POP_TAG(); rb_set_safe_level_force(safe); - th_jump_tag_but_local_jump(state, val); + if (state) th_jump_tag_but_local_jump(state, val); return val; } |