diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-20 11:49:55 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-20 11:49:55 +0900 |
commit | 0a43a040b4f2f08682d11e20d901ba6d8cc26cfe (patch) | |
tree | ec42a33b7361dadcc855dd7f851a70d8fe6c9767 /include | |
parent | b963fb25d2f683759c273eb21af85c1632122056 (diff) | |
download | ruby-0a43a040b4f2f08682d11e20d901ba6d8cc26cfe.tar.gz |
[DOC] Fix RUBY_SYMBOL_FLAG comment [ci skip]
Upper bits than the least significant 4 bits need not be 0.
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/internal/special_consts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/special_consts.h b/include/ruby/internal/special_consts.h index 70276278eb..252f1a8ff5 100644 --- a/include/ruby/internal/special_consts.h +++ b/include/ruby/internal/special_consts.h @@ -111,7 +111,7 @@ ruby_special_consts { RUBY_FIXNUM_FLAG = 0x01, /* ...xxxx xxx1 */ RUBY_FLONUM_MASK = 0x00, /* any values ANDed with FLONUM_MASK cannot be FLONUM_FLAG */ RUBY_FLONUM_FLAG = 0x02, /* ...0000 0010 */ - RUBY_SYMBOL_FLAG = 0x0e, /* ...0000 1110 */ + RUBY_SYMBOL_FLAG = 0x0e, /* ...xxxx 1110 */ #endif RUBY_SPECIAL_SHIFT = 8 /**< Least significant 8 bits are reserved. */ |