bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnu indent breaks long #define lines without terminating backslashes


From: Robert Brown - Contractor
Subject: gnu indent breaks long #define lines without terminating backslashes
Date: Wed, 5 Apr 2017 19:03:03 +0000

To the Gnu indent maintainers:

Gnu indent version "GNU indent 2.2.11" breaks long #define lines without 
placing a backslash "\" character at the end of each such break other than on 
the last line.  This causes the semantics of the #define to be changed, 
resulting in compilation errors when such indented code is compiled.

The problem is currently being worked around by setting -l512, so that lines 
will not be broken unless they are over 512 characters long, but this is not 
really desirable, as it defeats other nice features of Gnu indent.

Please fix this problem when you can, and let us know, so we can close out our 
own bug report internally here.

Thanks!
Bob Brown
address@hidden<mailto:address@hidden>
address@hidden<mailto:address@hidden>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]