diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-08 09:00:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-08 09:00:51 +0000 |
commit | bc1fd9458d6e168ab49f0b648a5fb1ba41702367 (patch) | |
tree | 8d4874383386ddfcd63ee86fccd55fd3a21f9e95 /ext/json/parser/parser.c | |
parent | 4902ef7d591fb01f6c9f70ec194e147c47935541 (diff) | |
download | ruby-bc1fd9458d6e168ab49f0b648a5fb1ba41702367.tar.gz |
* ext/json/parser/parser.rl (JSON_parse_object): add missing parens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json/parser/parser.c')
-rw-r--r-- | ext/json/parser/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c index 04bedf33a7..74068971ab 100644 --- a/ext/json/parser/parser.c +++ b/ext/json/parser/parser.c @@ -442,7 +442,7 @@ case 26: VALUE klassname = rb_hash_aref(*result, json->create_id); if (!NIL_P(klassname)) { VALUE klass = rb_funcall(mJSON, i_deep_const_get, 1, klassname); - if RTEST(rb_funcall(klass, i_json_creatable_p, 0)) { + if (RTEST(rb_funcall(klass, i_json_creatable_p, 0))) { *result = rb_funcall(klass, i_json_create, 1, *result); } } |