ruby-changes:3257
From: ko1@a...
Date: 28 Dec 2007 11:46:18 +0900
Subject: [ruby-changes:3257] nobu - Ruby:r14750 (trunk): * tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bison
nobu 2007-12-28 11:46:06 +0900 (Fri, 28 Dec 2007) New Revision: 14750 Modified files: trunk/ChangeLog trunk/tool/ytab.sed Log: * tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bison 1.8 series. [ruby-dev:32825] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14750&r2=14749 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/tool/ytab.sed?r1=14750&r2=14749 Index: ChangeLog =================================================================== --- ChangeLog (revision 14749) +++ ChangeLog (revision 14750) @@ -1,3 +1,8 @@ +Fri Dec 28 11:46:04 2007 Nobuyoshi Nakada <nobu@r...> + + * tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bison + 1.8 series. [ruby-dev:32825] + Fri Dec 28 11:39:02 2007 NAKAMURA Usaku <usa@r...> * golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[] Index: tool/ytab.sed =================================================================== --- tool/ytab.sed (revision 14749) +++ tool/ytab.sed (revision 14750) @@ -5,7 +5,7 @@ a\ #endif } -/^yydestruct/,/#endif/{ +/^yydestruct.*yymsg/,/#endif/{ /^yydestruct/{ /parser/!{ h -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml