From 76e845505a7a4e57152475097a521acda36fdcf0 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 28 Dec 2007 02:46:06 +0000 Subject: [PATCH] * tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bison 1.8 series. [ruby-dev:32825] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ tool/ytab.sed | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 623a4f1a13..eae84c2c59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 28 11:46:04 2007 Nobuyoshi Nakada + + * 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 * golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[] diff --git a/tool/ytab.sed b/tool/ytab.sed index 92f8218202..17a57fe494 100755 --- a/tool/ytab.sed +++ b/tool/ytab.sed @@ -5,7 +5,7 @@ i\ a\ #endif } -/^yydestruct/,/#endif/{ +/^yydestruct.*yymsg/,/#endif/{ /^yydestruct/{ /parser/!{ h