HomeFreeBSD

Added an option -ldi<N> to control indentation of local variable names.

Description

Added an option -ldi<N> to control indentation of local variable names.
The default is to be backwards compatible and non-KNF (use the same
indentation for locals as for globals; -ldi0 gives KNF indentation
for locals (none)). The indentation for globals also applies to struct
member names in local declatations. The indentation of variable names
in multi-line declarations is broken in various ways and this commit
gives some new variations.

indent.1:
Also clarified the description of -di<N>.

Details

Provenance
Bruce Evans <bde@FreeBSD.org>Authored on Feb 9 2004, 9:48 PM
Parents
rG7b3b38c6db50: Only use tabs to indent variable names if the declaration indent is
Branches
Unknown
Tags
Unknown

Event Timeline