With this example:
int aa(int b)
{
int a = 1;;
if (a == 1) {
a = 2;
} /* if (a == 1 ... */
/* call check a */
if (!check(a)) {
a = 0;
}
}
Running this command:
/bin/indent -br -ce -st aa.c
The output is this:
int
aa (int b)
{
int a = 1;;
if (a == 1) {
a = 2;
}
/* if (a == 1 ... */
/* call check a */
if (!check (a)) {
a = 0;
}
}
However I wouldn't expect the -ce to cause the
/* if (a == 1 ... */
comment to move onto the next line.
Without the -ce this doesn't happen.
Would you consider this a bug?
--
Philip J. Smith
[email protected]
[email protected]
Mullard Space Science Laboratory,
Dept. of Space and Climate Physics,
University College London.
_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent