From 4ab1577db3bb1358af5fd387a59c541621f5df1e Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 29 May 2002 05:20:39 +0000 Subject: * parse.y: yyparse #defines moved from intern.h * ruby.c (proc_options): access prefixed "ruby_yydebug". * applied modifies to pacify some of gcc -Wall warnings. * parse.y (arg): no more ugly hack for "**", so that "-2**2" to be parsed as "(-2)**2", whereas "- 2**2" or "-(2)**2" to be parsed as "-(2**2)". * parse.y (yylex): '-2' to be literal fixnum. [new] * time.c (time_succ): new method for Range support. * time.c (time_arg): nil test against v[6] (usec). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index fd587503b6..f3c3097637 100644 --- a/string.c +++ b/string.c @@ -2444,7 +2444,7 @@ rb_str_split_m(argc, argv, str) VALUE spat; VALUE limit; int char_sep = -1; - long beg, end, i; + long beg, end, i = 0; int lim = 0; VALUE result, tmp; -- cgit v1.2.3