summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-13 06:00:50 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-13 06:00:50 +0000
commit897ebd38cf900601f7c67d3ef9965b08140e0698 (patch)
tree11d364f0d2e4861c39864a55027bcc38818f3e3f /parse.y
parentca21ec4a5abb1b9205ee84b355008f37c369d9ba (diff)
downloadruby-897ebd38cf900601f7c67d3ef9965b08140e0698.tar.gz
ruby-897ebd38cf900601f7c67d3ef9965b08140e0698.tar.xz
ruby-897ebd38cf900601f7c67d3ef9965b08140e0698.zip
* parse.y: warn -> rb_warn
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1246 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 ec4c9b364..6c92f3535 100644
--- a/parse.y
+++ b/parse.y
@@ -4505,7 +4505,7 @@ cond0(node, logop)
case NODE_DSTR:
case NODE_STR:
if (logop) break;
- warn("string literal in condition");
+ rb_warn("string literal in condition");
break;
case NODE_DREGX: