summaryrefslogtreecommitdiff
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 b336f1e000..d8662df76b 100644
--- a/parse.y
+++ b/parse.y
@@ -10417,7 +10417,7 @@ static ID intern_str(VALUE str);
static inline void
must_be_dynamic_symbol(VALUE x)
{
- if (UNLIKELY(DYNAMIC_SYM_P(x))) {
+ if (UNLIKELY(!DYNAMIC_SYM_P(x))) {
if (STATIC_SYM_P(x)) {
VALUE str;