summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-26 02:26:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-26 02:26:08 +0000
commit34ca2ab05891c41e28deecde6a8548127f286525 (patch)
treefa18dbdc23917c331e91fdb7ae9b7f41e91a5867 /variable.c
parenteb51666a192204ea1689154404d03a03dc5a64de (diff)
* variable.c (rb_mod_const_missing): "const_missing" should not
appear in the caller(); add call frame adjustment. * eval.c (rb_method_missing): simplify call frame adjustment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/variable.c b/variable.c
index 4455d04..fd7ff22 100644
--- a/variable.c
+++ b/variable.c
@@ -1128,6 +1128,7 @@ VALUE
rb_mod_const_missing(klass, name)
VALUE klass, name;
{
+ ruby_frame = ruby_frame->prev; /* pop frame for "const_missing" */
uninitialized_constant(klass, rb_to_id(name));
return Qnil; /* not reached */
}