summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-29 08:19:50 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-29 08:19:50 +0000
commitf42b01b54270b58813a717d1e3df18c50022126a (patch)
treecc6db2ed920ef3830a48f95982eaba3b00b5282b /parse.y
parent6c105b2dbfb56fcbcc77ed4b273e45908cfcbd50 (diff)
downloadruby-f42b01b54270b58813a717d1e3df18c50022126a.tar.gz
ruby-f42b01b54270b58813a717d1e3df18c50022126a.tar.xz
ruby-f42b01b54270b58813a717d1e3df18c50022126a.zip
* parse.y (ripper_s_allocate): add prototype for Microsoft compiler.
* range.c (range_step, range_each): need cast. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 123fa9e6a..4b5c02774 100644
--- a/parse.y
+++ b/parse.y
@@ -8504,6 +8504,7 @@ ripper_lex_get_generic(parser, src)
return rb_funcall(src, ripper_id_gets, 0);
}
+static VALUE ripper_s_allocate _((VALUE));
static VALUE
ripper_s_allocate(klass)
VALUE klass;