summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-13 09:00:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-13 09:00:01 +0000
commitb1c0d688b9078f8935b03a85d5d747e3f34043ed (patch)
tree2b47aeab163b1a66ac9699696822e60e5f465e72 /parse.y
parent7b85e0ea9e23f0f55b4f518002571c1fdeaaa38b (diff)
downloadruby-b1c0d688b9078f8935b03a85d5d747e3f34043ed.tar.gz
ruby-b1c0d688b9078f8935b03a85d5d747e3f34043ed.tar.xz
ruby-b1c0d688b9078f8935b03a85d5d747e3f34043ed.zip
* eval.c (ev_const_defined): add new parameter self for special
const fallback. * eval.c (ev_const_get): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 6c92f3535..1e7ad8c6b 100644
--- a/parse.y
+++ b/parse.y
@@ -4522,7 +4522,7 @@ cond0(node, logop)
if (type == NODE_DOT2) nd_set_type(node,NODE_FLIP2);
else if (type == NODE_DOT3) nd_set_type(node, NODE_FLIP3);
node->nd_cnt = local_append(0);
- warn_unless_e_option("range literal in condition");
+ warning_unless_e_option("range literal in condition");
break;
case NODE_LIT: