NetBSD/usr.bin/indent
rillig f6c6195c8b indent: fix 'blank line above first statement in function body' 2023-06-27 04:41:23 +00:00
..
.indent.pro indent: switch to standard code style 2023-05-18 04:23:03 +00:00
Makefile indent: move debugging code to separate file 2023-05-13 09:27:49 +00:00
README.md indent: remove trailing whitespace from README 2023-06-04 19:08:49 +00:00
args.c indent: miscellaneous cleanups, more tests for edge cases 2023-06-15 09:19:06 +00:00
debug.c indent: fix 'blank line above first statement in function body' 2023-06-27 04:41:23 +00:00
indent.1 indent: indent multi-line expressions according to parentheses 2023-06-09 06:36:57 +00:00
indent.c indent: fix 'blank line above first statement in function body' 2023-06-27 04:41:23 +00:00
indent.h indent: implement 'blank line above first statement in function body' 2023-06-26 20:03:09 +00:00
io.c indent: fix 'blank line above first statement in function body' 2023-06-27 04:41:23 +00:00
lexi.c indent: improve heuristics for '*' as pointer in for loops 2023-06-26 20:23:40 +00:00
parse.c indent: untangle code for handling the statement indentation 2023-06-18 06:56:32 +00:00
pr_comment.c indent: fix scanning of no-wrap comments (since 2021.11.07.10.34.03) 2023-06-23 20:59:04 +00:00

README.md

History

This is NetBSD indent. It originally came from the University of Illinois via some distribution tape for PDP-11 Unix. It has subsequently been hacked upon by James Gosling @ CMU. At some point in the 1970s or even 1980s, it was thought to be "the nicest C pretty printer around". Around 1985, further additions to provide "Kernel Normal Form" were contributed by the folks at Sun Microsystems.

Between 2000 and 2019, FreeBSD maintained the code, adding several features. NetBSD imported these changes on 2019-04-04.

In 2021, indent was updated to handle C99 comments and the code got a major overhaul. Indent got an extensive and systematic test suite, which uncovered many inconsistencies and bugs. Several of these bugs had been introduced by importing the FreeBSD version on 2019-04-04.

References