mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* id.c (Init_id): add underscore name.
* parse.y (warn_unused_var): ignore underscore name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
14a15f8b7f
commit
d31350f827
4 changed files with 12 additions and 6 deletions
|
@ -100,6 +100,7 @@ enum ruby_method_ids {
|
|||
tSend,
|
||||
t__send__,
|
||||
tInitialize,
|
||||
tUScore,
|
||||
#if SUPPORT_JOKE
|
||||
tBitblt,
|
||||
tAnswer,
|
||||
|
@ -120,7 +121,9 @@ enum ruby_method_ids {
|
|||
TOKEN2ID(Lambda),
|
||||
TOKEN2ID(Send),
|
||||
TOKEN2ID(__send__),
|
||||
TOKEN2ID(Initialize)
|
||||
TOKEN2ID(Initialize),
|
||||
TOKEN2ID(UScore),
|
||||
TOKEN2ID(LAST_ID)
|
||||
};
|
||||
|
||||
#ifdef tLAST_TOKEN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue