]> git.draconx.ca Git - cdecl99.git/commitdiff
cdecl99: Combine all the main command implementations.
authorNick Bowler <nbowler@draconx.ca>
Fri, 28 Jul 2023 06:01:53 +0000 (02:01 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 28 Jul 2023 06:01:53 +0000 (02:01 -0400)
The explain, simplify and declare (or type) commands are all virtually
identical.  The primary difference is just which parser mode to use,
and which output mode to use, with the various combinations giving
the various commands.

Other than some very slight tweak to the formatting to handle "simplify"
with multiple full declarators, we can just implement one function that
does all three operations: a pretty nice cleanup.


No differences found