8000 Bison 3.5.91 now defaults parse.error to "simple" · github/ruby@5c25080 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c25080

Browse files
committed
Bison 3.5.91 now defaults parse.error to "simple"
1 parent 47720e2 commit 5c25080

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

parse.y

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,7 @@ static int looking_at_eol_p(struct parser_params *p);
10141014

10151015
%expect 0
10161016
%define api.pure
1017+
%define parse.error verbose
10171018
%lex-param { 7526 struct parser_params *p}
10181019
%parse-param {struct parser_params *p}
10191020
%initial-action

tool/pure_parser.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
ARGV.push(file)
1919
}
2020
$_.sub!(/^%define\s+api\.pure/, '%pure-parser')
21+
$_.sub!(/^%define\s+.*/, '')

0 commit comments

Comments
 (0)
0