]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Simplify explain_decl -> explain_prologue.
authorNick Bowler <nbowler@draconx.ca>
Thu, 22 Jun 2023 00:46:53 +0000 (20:46 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 22 Jun 2023 00:46:53 +0000 (20:46 -0400)
commit3d8b54b105613351b86cf5929fe9fd4e5934afea
treecbea5b656d2019d2c3bd09ae342f036afcd493e6
parent8e320b09c58bbf947dbdc5e0019bdaad478591fe
libcdecl: Simplify explain_decl -> explain_prologue.

Rather than threading a flag through this function just to print
"declare" or "type" at the toplevel, we can just directly print
that in the one place where it is needed, which simplifies the
implementation a bit.
src/explain.c