diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-28 02:46:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-28 02:46:06 +0000 |
commit | 76e845505a7a4e57152475097a521acda36fdcf0 (patch) | |
tree | ba7809e8758f8ed728fbc666e497a8fb51737576 /tool | |
parent | 18ef0fef154fa8dd31f21a7f9693e455c5b2e704 (diff) | |
download | ruby-76e845505a7a4e57152475097a521acda36fdcf0.tar.gz |
* 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')
-rwxr-xr-x | tool/ytab.sed | 2 |
1 files changed, 1 insertions, 1 deletions
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 |