* template/id.h.tmpl: suppress all warning: "SUPPORT_JOKE" is not
defined. [ruby-dev:42730] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
89c7efed6f
commit
e8c539a7e3
@ -1,3 +1,8 @@
|
|||||||
|
Sun Dec 12 20:42:47 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
|
* template/id.h.tmpl: suppress all warning: "SUPPORT_JOKE" is not
|
||||||
|
defined. [ruby-dev:42730]
|
||||||
|
|
||||||
Sun Dec 12 20:35:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
Sun Dec 12 20:35:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
* misc/rb_optparse.zsh: update how to install.
|
* misc/rb_optparse.zsh: update how to install.
|
||||||
|
@ -50,6 +50,8 @@ end
|
|||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "vm_opts.h" /* for SUPPORT_JOKE */
|
||||||
|
|
||||||
#define symIFUNC ID2SYM(idIFUNC)
|
#define symIFUNC ID2SYM(idIFUNC)
|
||||||
#define symCFUNC ID2SYM(idCFUNC)
|
#define symCFUNC ID2SYM(idCFUNC)
|
||||||
|
|
||||||
@ -101,13 +103,13 @@ enum ruby_method_ids {
|
|||||||
t__send__,
|
t__send__,
|
||||||
tInitialize,
|
tInitialize,
|
||||||
tUScore,
|
tUScore,
|
||||||
#if defined SUPPORT_JOKE && SUPPORT_JOKE
|
#if SUPPORT_JOKE
|
||||||
tBitblt,
|
tBitblt,
|
||||||
tAnswer,
|
tAnswer,
|
||||||
#endif
|
#endif
|
||||||
tLAST_ID,
|
tLAST_ID,
|
||||||
#define TOKEN2ID(n) id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
|
#define TOKEN2ID(n) id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
|
||||||
#if defined SUPPORT_JOKE && SUPPORT_JOKE
|
#if SUPPORT_JOKE
|
||||||
TOKEN2ID(Bitblt),
|
TOKEN2ID(Bitblt),
|
||||||
TOKEN2ID(Answer),
|
TOKEN2ID(Answer),
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user