summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-05-04 18:10:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-05-04 18:10:02 +0900
commit5c2508060b79b4299a18d05511d3530ad14b1b7a (patch)
treebd0442342e01e423208b700adf9e66e7198c8f0d /tool
parent47720e2255f34ecad49763c66a7ea02a55a3f60a (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 e4aedfa81b..d07df681be 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+.*/, '')