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
commit73ebde194314225266e33d69aee1ec11d34b78b5 (patch)
treeae3713c1eb45ef1aedf821100c4781caf12d838d /parse.y
parentd0657a53a1b6abbd3e3fb21dab9f0d107e44aa4d (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/branches/ruby_1_6@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 b6e8387f5d..2d14b1d001 100644
--- a/parse.y
+++ b/parse.y
@@ -1974,10 +1974,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;