diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-25 04:12:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-25 04:12:44 +0000 |
commit | c5581959992c3fd621b48f9fc506454993daf077 (patch) | |
tree | 6730d3f7a253b8ceb8d5f8453d4d1e5f60062c96 /tool | |
parent | 7edb26458688db159233895eba2ab0ac6c8dbb12 (diff) | |
download | ruby-c5581959992c3fd621b48f9fc506454993daf077.tar.gz |
* 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
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/ytab.sed | 6 |
1 files changed, 6 insertions, 0 deletions
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/!{ |