When I try to format the following (using indent with default arguments):
tree_node_s *t = GC_MALLOC_ATOMIC (sizeof (tree_node_s));
*t = (tree_node_s){.val = n,.h = 0};
it ends up looking like this:
tree_node_s *t = GC_MALLOC_ATOMIC (sizeof (tree_node_s));
*t = (tree_node_s)
{
.val = n,.h = 0};
Now, this (aside from being really ugly) is not obviously a compound literal
from its appearance. This appears to be a bug.
--
Koz Ross <[email protected]>
www.retro-freedom.nz
If you aren't using GPG, you should be! https://emailselfdefense.fsf.org/en/
****
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
pgp7EYnu4pjPO.pgp
Description: PGP signature
_______________________________________________ bug-indent mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-indent
