cvs commit: src/usr.bin/indent lexi.c
Bruce Evans
bde at FreeBSD.org
Mon Feb 9 07:27:04 PST 2004
bde 2004/02/09 07:27:03 PST
FreeBSD src repository
Modified files:
usr.bin/indent lexi.c
Log:
Fixed misformatting of "struct foo *bar" in function parameter lists. It
was mangled to "struct foo * bar". There should be an option to control
this, but no space is normal. This finishes fixing the bugs in rev.1.4.
indent(1) still doesn't really understand types in parameter lists. It
thinks keywords inside parentheses are for casts or sizeofs. This works
accidentally for scalar types and this quick fix makes it work similarly
but not so accidentally for struct/union/enum types.
Revision Changes Path
1.18 +11 -8 src/usr.bin/indent/lexi.c
More information about the cvs-src
mailing list