Bug report

View: New views
1 Messages — Rating Filter:   Alert me  

Bug report

by dan sladic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Running indent on a source file is introducing a bug causing
compilation error. The included log is self-explanatory.

gcc v3.2.3
indent 2.2.9

Dan.

------------------

[~/tmp]$ more indent_test.c
int foo(int a)
{
   return - --a;
}
[~/tmp]$ indent indent_test.c -o indent_test_out.c
[~/tmp]$ gcc -c indent_test.c
[~/tmp]$ gcc -c indent_test_out.c
indent_test_out.c: In function `foo':
indent_test_out.c:4: invalid lvalue in decrement


_______________________________________________
bug-indent mailing list
bug-indent@...
http://lists.gnu.org/mailman/listinfo/bug-indent