]> git.draconx.ca Git - cdecl99.git/commit
Solve Bison conflicts using precedence declarations.
authorNick Bowler <nbowler@draconx.ca>
Sun, 23 Jul 2023 14:55:40 +0000 (10:55 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sun, 23 Jul 2023 15:02:16 +0000 (11:02 -0400)
commit05d0ced1aa6c1e685e3228e7c43aab3fbb1d88c3
tree70f2c3b8c2b98a22ae9eaadddadf405d254e933a
parentb898202c175f8502d9cb552f3ab784c8f8677a27
Solve Bison conflicts using precedence declarations.

We can use a precedence declaration to directly inform Bison of how
to resolve the specific conflict at hand, rather than just saying
"it is ok to have N conflicts."

There is no significant change to the generated output but this way
keeps things more straightforward when modifying the parser.
src/parse.y