diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | parse.y | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Jul 4 18:42:04 2014 Koichi Sasada <ko1@atdot.net> + + * parse.y (must_be_dynamic_symbol): fix missed-condition. + Fri Jul 4 18:38:11 2014 Koichi Sasada <ko1@atdot.net> * parse.y (rb_pin_dynamic_symbol): should be `static' function. @@ -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; |