* 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:
nobu 2012-11-30 05:42:01 +00:00
Родитель 7e42e55e08
Коммит 25b0a58bf5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)