mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parse.y: LVAR_USED
* parse.y (LVAR_USED): use MSB of ID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7e42e55e08
commit
25b0a58bf5
1 changed files with 1 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -8545,7 +8545,7 @@ is_private_local_id(ID name)
|
|||
return RSTRING_PTR(s)[0] == '_';
|
||||
}
|
||||
|
||||
#define LVAR_USED ((int)1 << (sizeof(int) * CHAR_BIT - 1))
|
||||
#define LVAR_USED ((ID)1 << (sizeof(ID) * CHAR_BIT - 1))
|
||||
|
||||
static ID
|
||||
shadowing_lvar_gen(struct parser_params *parser, ID name)
|
||||
|
|
Loading…
Reference in a new issue