1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* template/id.h.tmpl (ruby_method_ids): suppress warnings.

[ruby-dev:42730]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-12-10 11:05:52 +00:00
parent 1a4bf59430
commit a18a4811a0
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Fri Dec 10 20:05:42 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* template/id.h.tmpl (ruby_method_ids): suppress warnings.
[ruby-dev:42730]
Fri Dec 10 18:29:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (ruby_init_loadpath_safe): relatively called non-shared

View file

@ -101,13 +101,13 @@ enum ruby_method_ids {
t__send__,
tInitialize,
tUScore,
#if SUPPORT_JOKE
#if defined SUPPORT_JOKE && SUPPORT_JOKE
tBitblt,
tAnswer,
#endif
tLAST_ID,
#define TOKEN2ID(n) id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#if SUPPORT_JOKE
#if defined SUPPORT_JOKE && SUPPORT_JOKE
TOKEN2ID(Bitblt),
TOKEN2ID(Answer),
#endif