]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Rework specifier output logic.
authorNick Bowler <nbowler@draconx.ca>
Fri, 23 Jun 2023 02:00:34 +0000 (22:00 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 23 Jun 2023 03:28:08 +0000 (23:28 -0400)
commit7ec517ce4d3b660e64133c2e67ef7686daec74e2
treef4684101fb1f80d417e45d5449e3a7d8401f6ea7
parent42f53d5e9ac7a02c1b899b0786194611eae56a56
libcdecl: Rework specifier output logic.

With both the explain and declare code paths using cdecl__emit, we
can give the same treatment to cdecl__explain_specs (now called
cdecl__emit_specs) to simplify things a bit.

This removes the last caller of cdecl__advance, so we can remove
that function (and use this better name for cdecl__advance_).
src/cdecl-internal.h
src/declare.c
src/explain.c
src/output.c
t/normalize.c