summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-17 11:38:49 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-17 11:38:49 +0000
commit0a4e53a5c5e6ab3093397826cb4ccc2f1ef1a9aa (patch)
tree88fe8ada10bb10f46319be26df19a9a69eda0e77 /parse.y
parente77ddaf0d1d421da2f655832a45f237558e23115 (diff)
* 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
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y3
1 files changed, 3 insertions, 0 deletions
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;