1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2014-07-04 09:42:55 +00:00
parent cc462eed98
commit a99a88d49d
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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;