]> git.draconx.ca Git - cdecl99.git/commitdiff
Fix spacing after qualified pointers when rendering C declarations.
authorNick Bowler <nbowler@draconx.ca>
Fri, 24 Feb 2012 02:31:58 +0000 (21:31 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 25 Feb 2012 22:06:55 +0000 (17:06 -0500)
We don't want to print spaces after pointer qualifiers all the time: in
particular, things like "type const pointer to array of int" would print
a space between the "const" and the ")", as in:

  int (* const )[]

Fix that up by eliding the space if (a) the pointer has qualifiers, and
(b) the child is not a null declarator.


No differences found