diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-06 21:50:06 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-06 21:50:06 +0000 |
commit | b51416e21f7c0df7d29a7ccd7660f794b6055620 (patch) | |
tree | c40497dc8c419b596aa0c5679e1d8621cb474562 /parse.y | |
parent | 1e51675654ec0a5624d78786e23851df73e14030 (diff) |
* eval.c (rb_call0): update ruby_class as well as ruby_cref.
(ruby-bugs-ja PR#540)
* eval.c (rb_yield_0): remove ruby_frame->cbase and unify to
ruby_cref. [ruby-talk:78141]
* eval.c: initialize /* OK */ variables by Qnil to stop warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -327,7 +327,7 @@ static void top_local_setup(); program : { lex_state = EXPR_BEG; top_local_init(); - if ((VALUE)ruby_class == rb_cObject) class_nest = 0; + if (ruby_class == rb_cObject) class_nest = 0; else class_nest = 1; } compstmt |