From d31350f827b02bbbd5154e8a34cbe55c49240af9 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 20 Jun 2010 07:17:46 +0000 Subject: * 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 --- template/id.h.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'template/id.h.tmpl') 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 -- cgit v1.2.3