From c5581959992c3fd621b48f9fc506454993daf077 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 25 Jul 2012 04:12:44 +0000 Subject: * tool/ytab.sed: fix for Bison 2.6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/ytab.sed | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tool/ytab.sed') diff --git a/tool/ytab.sed b/tool/ytab.sed index f956c065e2..46317db284 100755 --- a/tool/ytab.sed +++ b/tool/ytab.sed @@ -5,6 +5,12 @@ i\ a\ #endif } +/^extern int yydebug;/{ +i\ +#ifndef yydebug +a\ +#endif +} /^yydestruct.*yymsg/,/#endif/{ /^yydestruct/{ /parser/!{ -- cgit v1.2.3