summaryrefslogtreecommitdiff
path: root/tool/ytab.sed
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-28 02:46:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-28 02:46:06 +0000
commit76e845505a7a4e57152475097a521acda36fdcf0 (patch)
treeba7809e8758f8ed728fbc666e497a8fb51737576 /tool/ytab.sed
parent18ef0fef154fa8dd31f21a7f9693e455c5b2e704 (diff)
* 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
Diffstat (limited to 'tool/ytab.sed')
-rwxr-xr-xtool/ytab.sed2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ytab.sed b/tool/ytab.sed
index 92f8218..17a57fe 100755
--- a/tool/ytab.sed
+++ b/tool/ytab.sed
@@ -5,7 +5,7 @@ i\
a\
#endif
}
-/^yydestruct/,/#endif/{
+/^yydestruct.*yymsg/,/#endif/{
/^yydestruct/{
/parser/!{
h