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
2
parse.y
2
parse.y
@ -8545,7 +8545,7 @@ is_private_local_id(ID name)
|
|||||||
return RSTRING_PTR(s)[0] == '_';
|
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
|
static ID
|
||||||
shadowing_lvar_gen(struct parser_params *parser, ID name)
|
shadowing_lvar_gen(struct parser_params *parser, ID name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user