11 Nov
2022
11 Nov
'22
6:04 p.m.
On Fri Nov 11 14:44:47 2022 +0000, Francisco Casas wrote:
That produces shift/reduce and reduce/reduce conflicts. I can't say that I understand why; I am spending some time reading about the Bison algorithm. Ah, I attempted to do:
declaration_statement_list:
%empty
| declaration_statement
| declaration_statement_list declaration_statement
so there where two possible reductions for the first declaration statement. Removing the `| declaration_statement` rule works: ``` declaration_statement_list: %empty | declaration_statement_list declaration_statement ``` So I am going for that. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/48#note_14074