indent.pro example: put all options one per lineThis should help with modification tracking.Discussed with: bdeMFC after: 7 days
indent.pro example: correctly place -ta optionThe options are sorted, leading 'n' (for 'off') should be ignored.Pointed out by: bdeMFC after: 7 days
indent.pro: replace a bunch of -T types with -ta introduced in r205989Suggested by: bde, Hans Petter SelaskyMFC after: 10 days
add example indent.pro file believed to produce code with minimal differences from KNFThis file is what bde uses!With addition of some types from queue(3) by hps.Please note that the output will
add example indent.pro file believed to produce code with minimal differences from KNFThis file is what bde uses!With addition of some types from queue(3) by hps.Please note that the output will not be KNF and currently it's notpossible to achieve correct KNF with any combination of options.indent(1) needs to be made smarter.Some issues:o indent produces a space between a queue type macro and opening parenthesiso indent produces a tab before __packed and __alignedo indent produce a space after #definebde also notes difference in the following options between this profileand profile in /usr/src/admin/style of 4.4BSD:-cdb -ei -ip8 -nsobAlso, NetBSD uses -di0 instead of -di8.Location for the profile is suggested by jh.Submitted by: Hans Petter Selasky (parts)Obtained from: bde :-)MFC after: 10 daysX-ToDo: make indent able to produce proper (perfect) KNFX-Perhaps-ToDo: make KNF default output
show more ...