зеркало из https://github.com/github/ruby.git
* parse.y (pragma_encoding): add prototype to suppress false warning
by VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
db218799e8
Коммит
6c2bce70a3
|
@ -1,4 +1,4 @@
|
|||
Mon May 16 22:28:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Mon May 16 22:40:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
|
||||
to get rid of redefinition warnings on mingw.
|
||||
|
@ -6,6 +6,9 @@ Mon May 16 22:28:43 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|||
* class.c (rb_class_init_copy): singleton class is disallowed to copy,
|
||||
from its definition. fixed: [ruby-talk:142749]
|
||||
|
||||
* parse.y (pragma_encoding): add prototype to suppress false warning
|
||||
by VC.
|
||||
|
||||
Mon May 16 03:29:01 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* win32/win32.{h,c}: define rb_{p,g,u}id_t.
|
||||
|
|
1
parse.y
1
parse.y
|
@ -5349,6 +5349,7 @@ lvar_defined_gen(parser, id)
|
|||
/* emacsen -*- hack */
|
||||
typedef void (*rb_pragma_setter_t) _((struct parser_params *parser, const char *name, const char *val));
|
||||
|
||||
static void pragma_encoding _((struct parser_params *, const char *, const char *));
|
||||
static void
|
||||
pragma_encoding(parser, name, val)
|
||||
struct parser_params *parser;
|
||||
|
|
Загрузка…
Ссылка в новой задаче