diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-09 14:47:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-09 14:47:52 +0000 |
commit | f2f74e91bf9c4fb9f839ea7ad3330053484b62bf (patch) | |
tree | bebf9e8ab2323f3b31be854a880d3f65db80be0a /parse.y | |
parent | 3d44db882bc40c5258f340bb770f30c6ada98bbd (diff) |
* eval.c (rb_eval): singleton chech should be moved from yycompile
to here.
* eval.c (is_defined): check should be added here too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -2145,10 +2145,6 @@ yycompile(f, line) heredoc_end = 0; ruby_sourcefile = strdup(f); ruby_in_compile = 1; - if (ruby_frame && ruby_frame->last_class && - FL_TEST(ruby_frame->last_class, FL_SINGLETON)) { - in_single = 1; - } n = yyparse(); ruby_debug_lines = 0; compile_for_eval = 0; |