mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
hash.c: fix commit miss
* hash.c (HAS_EXTRA_STATES): remove extra parenthesis. [Bug #9275] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c25c84777c
commit
cb62186b07
1 changed files with 3 additions and 3 deletions
6
hash.c
6
hash.c
|
@ -28,9 +28,9 @@
|
|||
#endif
|
||||
|
||||
#define HAS_EXTRA_STATES(hash, klass) ( \
|
||||
(klass = has_extra_methods(rb_obj_class(hash))) != 0 || \
|
||||
FL_TEST((hash), FL_EXIVAR|FL_TAINT|HASH_PROC_DEFAULT) || \
|
||||
!NIL_P(RHASH_IFNONE(hash))))
|
||||
((klass = has_extra_methods(rb_obj_class(hash))) != 0) || \
|
||||
FL_TEST((hash), FL_EXIVAR|FL_TAINT|HASH_PROC_DEFAULT) || \
|
||||
!NIL_P(RHASH_IFNONE(hash)))
|
||||
#define HASH_REJECT_COPY_EXTRA_STATES 1
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue