ruby-changes:13600
From: akr <ko1@a...>
Date: Sat, 17 Oct 2009 16:35:57 +0900 (JST)
Subject: [ruby-changes:13600] Ruby:r25382 (trunk): * parse.y (parser_yylex): fix token even after trailing under score.
akr 2009-10-17 16:35:39 +0900 (Sat, 17 Oct 2009) New Revision: 25382 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25382 Log: * parse.y (parser_yylex): fix token even after trailing under score. Modified files: trunk/ChangeLog trunk/parse.y Index: ChangeLog =================================================================== --- ChangeLog (revision 25381) +++ ChangeLog (revision 25382) @@ -1,3 +1,7 @@ +Sat Oct 17 16:34:27 2009 Tanaka Akira <akr@f...> + + * parse.y (parser_yylex): fix token even after trailing under score. + Sat Oct 17 11:27:44 2009 Yukihiro Matsumoto <matz@r...> * vm_method.c (basic_obj_respond_to): call #respond_to_missing? Index: parse.y =================================================================== --- parse.y (revision 25381) +++ parse.y (revision 25382) @@ -7062,13 +7062,13 @@ decode_num: pushback(c); - tokfix(); if (nondigit) { char tmp[30]; trailing_uc: snprintf(tmp, sizeof(tmp), "trailing `%c' in number", nondigit); yyerror(tmp); } + tokfix(); if (is_float) { double d = strtod(tok(), 0); if (errno == ERANGE) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/