diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-15 02:33:03 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-15 02:33:03 +0000 |
commit | 525aa2dab68a6992bf0636357a673ae2adf599cc (patch) | |
tree | f4ff80d2d9ce4e1ab60eef7c10c70d8b3faaea5e /error.c | |
parent | d50c046da090460fd3b1e54da610d4113a23ef19 (diff) |
* eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
yield is not break destination. [ruby-dev:23197]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -259,6 +259,9 @@ rb_check_type(x, t) else if (FIXNUM_P(x)) { etype = "Fixnum"; } + else if (SYMBOL_P(x)) { + etype = "Symbol"; + } else if (rb_special_const_p(x)) { etype = RSTRING(rb_obj_as_string(x))->ptr; } |