summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
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: