summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-04 12:14:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-04 12:16:31 +0900
commitda139317a59acb2d79f460bf92331450efa310fe (patch)
treed48daeef6bf6d41ceb014c17e843b4a5801017b6 /parse.y
parente25ad5475c235b51395fe14edf212c85fe3e17fe (diff)
Fix the warning message for dynamic symbol literal in condition
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 6184112d546..189731b45cd 100644
--- a/parse.y
+++ b/parse.y
@@ -11758,7 +11758,7 @@ cond0(struct parser_params *p, NODE *node, enum cond_type type, const YYLTYPE *l
break;
case NODE_DSYM:
- SWITCH_BY_COND_TYPE(type, warning, "string ")
+ SWITCH_BY_COND_TYPE(type, warning, "symbol ")
break;
case NODE_LIT: