]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Simplify reduce_parentheses implementation.
authorNick Bowler <nbowler@draconx.ca>
Fri, 30 Jun 2023 05:24:12 +0000 (01:24 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sun, 2 Jul 2023 00:16:06 +0000 (20:16 -0400)
commit248d73924d6136eee0497a7456aba90bfef633e3
treec47b76d2f8c5af49c1588bf5103e476da4e6ec0c
parent94b775009e7dd4a876db03fa631a2188a699e791
libcdecl: Simplify reduce_parentheses implementation.

Simplify the reduce_parentheses implementation so it operates in a
much more straightforward way.  We can also just call simplify_functions
directly during the same tree traversal, instead of trying to predict
what simplify_functions will do to a node on a later traversal.
src/parse-decl.c