mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y: warn -> rb_warn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1a7cb01d64
commit
3d1cd3c5b4
1 changed files with 1 additions and 1 deletions
2
parse.y
2
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:
|
||||
|
|
Loading…
Reference in a new issue