[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
"Brian Bjerre Graversen" <sslug@sslug> wrote:
Jeg har lige koert ident paa en bunke C filer, og outputtet er ganske paent, jeg brugte foelgende indent kommando, med indent 2.2.6
indent -bli0 -cli2 -nut -ts2 -nfca -npcs -npsl -bad -bap -sob -l200 *.c
Nu er problemet bare at indent smadrer mine tabeller,
[KLIP]
Nogen maade at faa indent til at ignorere alle mine structure, eller bare respektere stilen.
Ehm... Du kunne /*udkommentere*/ dine tabeller inden du kører indent :-)
Eller måske fra man-siden: DISABLING FORMATTING Formatting of C code may be disabled for portions of a program by embedding special control comments in the pro gram. To turn off formatting for a section of a program, place the disabling control comment /* *INDENT-OFF* */ on a line by itself just before that section. Program text scanned after this control comment is output precisely as input with no modifications until the corresponding enabling comment is scanned on a line by itself. The dis abling control comment is /* *INDENT-ON* */, and any text following the comment on the line is also output unformat ted. Formatting begins again with the input line follow ing the enabling control comment.
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |