summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-09 14:47:52 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-09 14:47:52 +0000
commitf2f74e91bf9c4fb9f839ea7ad3330053484b62bf (patch)
treebebf9e8ab2323f3b31be854a880d3f65db80be0a /parse.y
parent3d44db882bc40c5258f340bb770f30c6ada98bbd (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.y4
1 files changed, 0 insertions, 4 deletions
diff --git a/parse.y b/parse.y
index d4229547f8..0081e9fa81 100644
--- a/parse.y
+++ b/parse.y
@@ -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;