summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-21 07:44:06 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-21 07:44:06 +0000
commit351beb936151e3b8db286696829f04b31a3ef54a (patch)
tree2758ad48fc996d8c09192dd87700cddfbce4a988 /parse.y
parentff4a07d8dd10e2d2d05d1cbeed2a2839fa49ce08 (diff)
downloadruby-351beb936151e3b8db286696829f04b31a3ef54a.tar.gz
ruby-351beb936151e3b8db286696829f04b31a3ef54a.tar.xz
ruby-351beb936151e3b8db286696829f04b31a3ef54a.zip
* eval.c (ruby_stop): should not trace error handler.
* signal.c (install_sighandler): do not install sighandler unless the old value is SIG_DFL. * io.c (io_write): should not raise exception on O_NONBLOCK io. * dir.c (dir_set_pos): seek should return dir, pos= should not. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 00aa32f88..07f3642fd 100644
--- a/parse.y
+++ b/parse.y
@@ -4288,6 +4288,11 @@ gettable(id)
if (dyna_in_block() && rb_dvar_defined(id)) return NEW_DVAR(id);
if (local_id(id)) return NEW_LVAR(id);
/* method call without arguments */
+#if 0
+ /* Rite will warn this */
+ rb_warn("ambiguous identifier; %s() or self.%s is better for method call",
+ rb_id2name(id), rb_id2name(id));
+#endif
return NEW_VCALL(id);
}
else if (is_global_id(id)) {