diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-13 09:00:01 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-13 09:00:01 +0000 |
| commit | b1c0d688b9078f8935b03a85d5d747e3f34043ed (patch) | |
| tree | 2b47aeab163b1a66ac9699696822e60e5f465e72 /parse.y | |
| parent | 7b85e0ea9e23f0f55b4f518002571c1fdeaaa38b (diff) | |
| download | ruby-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.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |
