To the authors of GNU indent: I have noticed a bug in version 2.2.11 of indent as follows:
Do loops like do { printf("foo"); } while (1); are not reformatted to do { printf("foo"); } while (1); even when using the cuddle option, i.e. indent -cdw foo.c. However, the cuddle option for else (-br -ce), structs (-brs) and functions (-brf) works. I am running Ubuntu 16.04 LTS. Regards, Con _______________________________________________ bug-indent mailing list bug-indent@gnu.org https://lists.gnu.org/mailman/listinfo/bug-indent