summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-05-04 18:10:02 +0900
committernagachika <nagachika@ruby-lang.org>2020-07-10 08:50:41 +0900
commit1ee1684a4a3edb26b5aa32acc967b9ef26284d42 (patch)
tree8da919859b3e452f1eea3def591713a92f9c295b /tool
parent601613fdf3907f3842a9d465926dca7c37d56f72 (diff)
Bison 3.5.91 now defaults parse.error to "simple"
Diffstat (limited to 'tool')
-rwxr-xr-xtool/pure_parser.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/pure_parser.rb b/tool/pure_parser.rb
index 9ab663830e..59e8fb7757 100755
--- a/tool/pure_parser.rb
+++ b/tool/pure_parser.rb
@@ -18,3 +18,4 @@ BEGIN {
ARGV.push(file)
}
$_.sub!(/^%define\s+api\.pure/, '%pure-parser')
+$_.sub!(/^%define\s+.*/, '')