From 0a4e53a5c5e6ab3093397826cb4ccc2f1ef1a9aa Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 17 Sep 2004 11:38:49 +0000 Subject: * parse.y: add prototypes for Microsoft compiler. * ext/ripper/depend (parse.obj): lex.c exists at hdrdir. * {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c): use bison. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 3 +++ 1 file changed, 3 insertions(+) (limited to 'parse.y') diff --git a/parse.y b/parse.y index c7b1f3b24c..0976d367c7 100644 --- a/parse.y +++ b/parse.y @@ -4412,6 +4412,7 @@ yycompile(parser, f, line) } #endif /* !RIPPER */ +static VALUE lex_get_str _((struct parser_params *, VALUE)); static VALUE lex_get_str(parser, s) struct parser_params *parser; @@ -4468,6 +4469,7 @@ rb_compile_cstr(f, s, len, line) return rb_compile_string(f, rb_str_new(s, len), line); } +static VALUE lex_io_gets _((struct parser_params *, VALUE)); static VALUE lex_io_gets(parser, io) struct parser_params *parser; @@ -8466,6 +8468,7 @@ ripper_warning0(parser, fmt) rb_funcall(parser->value, rb_intern("warning"), 1, rb_str_new2(fmt)); } +static VALUE ripper_lex_get_generic _((struct parser_params *, VALUE)); static VALUE ripper_lex_get_generic(parser, src) struct parser_params *parser; -- cgit v1.2.3