[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] indent 2.2.8a Still corrupting (sp)lint comments
From: |
Matthias Andree |
Subject: |
[Bug-indent] indent 2.2.8a Still corrupting (sp)lint comments |
Date: |
Tue, 25 Jun 2002 12:31:54 +0200 |
User-agent: |
Mutt/1.3.99i |
Hello,
an old problem I reported against a former indent version still persists
with the current version.
Indent v2.2.8a is reformatting the /address@hidden@*/ structured comments that
lclint/splint (www.splint.org) uses unless they are in first column, in
spite of -nfca -nfc1.
Example:
.indent.pro:
-kr -ncs -l80 -psl -hnl
Original file:
/address@hidden@*/ void test (void ) { /address@hidden@*/ f(); }
Output file:
/address@hidden@*/ void
test(void)
{ /address@hidden@ */
f();
}
The EXPECTED OUTPUT for the second comment is /address@hidden@*/, without a
space
before */.
Using -nfca will _NOT_ help (which is not suprising as -kr implies -nfc1
-nfca).
Can indent be amended to NOT reformat structured comments like this one?
Thanks in advance.
--
Matthias Andree
- [Bug-indent] indent 2.2.8a Still corrupting (sp)lint comments,
Matthias Andree <=