ruby-changes:74134
From: Nobuyoshi <ko1@a...>
Date: Thu, 20 Oct 2022 11:50:51 +0900 (JST)
Subject: [ruby-changes:74134] 0a43a040b4 (master): [DOC] Fix RUBY_SYMBOL_FLAG comment [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=0a43a040b4 From 0a43a040b4f2f08682d11e20d901ba6d8cc26cfe Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 20 Oct 2022 11:49:55 +0900 Subject: [DOC] Fix RUBY_SYMBOL_FLAG comment [ci skip] Upper bits than the least significant 4 bits need not be 0. --- include/ruby/internal/special_consts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/special_consts.h#L111 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. */ -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/