summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-04 09:42:55 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-04 09:42:55 +0000
commita99a88d49d39f7d007db34468554e5bc1093a49b (patch)
tree9a0b351df29625ebd9ca8fd4ba7eb0ab33bbc812 /parse.y
parentcc462eed98ef713574e50eef178ffce36df53a18 (diff)
* parse.y (must_be_dynamic_symbol): fix missed-condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46695 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 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;