diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-20 07:17:46 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-20 07:17:46 +0000 |
commit | d31350f827b02bbbd5154e8a34cbe55c49240af9 (patch) | |
tree | 14b9b41d70ec16535cba41ead1baf886f3c69110 /template | |
parent | 14a15f8b7f21d26fdeaa9acd0d886ede9acb57c7 (diff) | |
download | ruby-d31350f827b02bbbd5154e8a34cbe55c49240af9.tar.gz |
* 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
Diffstat (limited to 'template')
-rw-r--r-- | template/id.h.tmpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl index 11df0507f4..b91292a103 100644 --- a/template/id.h.tmpl +++ b/template/id.h.tmpl @@ -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 |