summaryrefslogtreecommitdiff
path: root/template/id.h.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-20 07:17:46 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-20 07:17:46 (GMT)
commitd31350f827b02bbbd5154e8a34cbe55c49240af9 (patch)
tree14b9b41d70ec16535cba41ead1baf886f3c69110 /template/id.h.tmpl
parent14a15f8b7f21d26fdeaa9acd0d886ede9acb57c7 (diff)
* 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/id.h.tmpl')
-rw-r--r--template/id.h.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl
index 11df050..b91292a 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