summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-20 11:49:55 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-20 11:49:55 +0900
commit0a43a040b4f2f08682d11e20d901ba6d8cc26cfe (patch)
treeec42a33b7361dadcc855dd7f851a70d8fe6c9767 /include
parentb963fb25d2f683759c273eb21af85c1632122056 (diff)
[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.h2
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. */