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

[DOC] Fix RUBY_SYMBOL_FLAG comment [ci skip]

Upper bits than the least significant 4 bits need not be 0.
This commit is contained in:
Nobuyoshi Nakada 2022-10-20 11:49:55 +09:00
parent b963fb25d2
commit 0a43a040b4
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

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