ruby-changes:3305
From: ko1@a...
Date: 30 Dec 2007 21:54:45 +0900
Subject: [ruby-changes:3305] nobu - Ruby:r14798 (trunk): * parse.y (program, yycompile0): too early to drop lex_lastline in
nobu 2007-12-30 21:54:29 +0900 (Sun, 30 Dec 2007) New Revision: 14798 Modified files: trunk/ChangeLog trunk/parse.y Log: * parse.y (program, yycompile0): too early to drop lex_lastline in rules. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/parse.y?r1=14798&r2=14797 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14798&r2=14797 Index: ChangeLog =================================================================== --- ChangeLog (revision 14797) +++ ChangeLog (revision 14798) @@ -1,3 +1,8 @@ +Sun Dec 30 21:54:26 2007 Nobuyoshi Nakada <nobu@r...> + + * parse.y (program, yycompile0): too early to drop lex_lastline in + rules. + Sun Dec 30 19:23:23 2007 NAKAMURA Usaku <usa@r...> * bootstraptest/test_knownbug.rb: support DOSISH. Index: parse.y =================================================================== --- parse.y (revision 14797) +++ parse.y (revision 14798) @@ -765,8 +765,6 @@ $$ = $2; parser->result = dispatch1(program, $$); %*/ - lex_p = lex_pbeg = lex_pend = 0; - lex_lastline = lex_nextline = 0; } ; @@ -4685,6 +4683,8 @@ compile_for_eval = 0; lex_strterm = 0; + lex_p = lex_pbeg = lex_pend = 0; + lex_lastline = lex_nextline = 0; if (parser->nerr) { return 0; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml