]> git.draconx.ca Git - cdecl99.git/commitdiff
libcdecl: Fix spacing after pointer qualifiers (again).
authorNick Bowler <nbowler@draconx.ca>
Sun, 14 Jan 2024 05:42:20 +0000 (00:42 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 14 Jan 2024 05:46:50 +0000 (00:46 -0500)
Some renderings of pointer qualifiers have an unwanted trailing space,
for example:

  > type const pointer to array of int
  int (* const )[]

This exact bug was fixed before, more than 10 years ago, but as no test
case was added it took some time to notice the problem when the fix was
inadvertently deleted.  This time, we fix it again, and also add some
test cases to verify the output.


No differences found