Hello,
I recently found a bug in Gnu Indent 2.2.11.
The bug appears when the -ce(--cuddle-else) option is used. When source
code is using the INDENT-OFF/-ON commands after a if statement. See the
attached files a case when this happends and how the result looks like.
Regards,
Oscar Svensson
int main () {
if (true) {
}
/* *INDENT-OFF* */
D();
/* *INDENT-ON* */
}
int
main ()
{
if (true)
{
}
/* *INDENT-OFF* */
D();
/* *INDENT-ON* */
/*}
_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent