]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Combine several postprocessing steps into one.
authorNick Bowler <nbowler@draconx.ca>
Fri, 30 Jun 2023 01:22:44 +0000 (21:22 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sun, 2 Jul 2023 00:16:06 +0000 (20:16 -0400)
commit94b775009e7dd4a876db03fa631a2188a699e791
tree48541afde26b9bf2c4e9b8094e797969d87aeb6e
parentf522ffe295db90f2072c70ae3583a5f0d064677d
libcdecl: Combine several postprocessing steps into one.

We currently have 5 postprocessing steps common to both parse variants,
four of which don't do any modification at all (just syntax checks).
This is overkill.  We can easily combine all five of these operations
into one function which does everything in a single tree traversal.
src/parse-decl.c