Re: About how reduce/reduce conflicts are managed
Hans Ã…berg <[email protected]> Sun, 19 Nov 2023 17:56:18 +0100
| Newsgroups | gmane.comp.parsers.bison.bugs |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 19, 2023, at 10:57, Domingo Alvarez Duarte <[email protected]> = wrote: > =E2=80=A6 I found that bison/byacc/kmyacc reports 35 reduce/reduce = conflicts but parsertl reports then as resolved. =E2=80=A6 > =E2=80=A6 how best to handle it, including questioning how bison does = it. >=20 > Can someone help in clarifying this ? See the Bison manual, sec 5.6: Bison resolves by choosing the first rule in the grammar, but recommends = avoid relying on it, instead rewriting the grammar.