NetBSD/usr.bin/indent
rillig af3ccc52b1 indent: treat L"string" as a single token
There is never whitespace between the 'L' and the string literal or the
character constant. There might be a backslash-newline between them, but
that case was not handled before either.

No functional change.
2021-11-28 14:29:03 +00:00
..
.indent.pro indent: run indent on its own source code 2021-10-26 19:36:30 +00:00
Makefile indent: raise WARNS from the default 5 up to 6 2021-10-07 18:32:09 +00:00
README.md indent: reword README 2021-11-27 21:23:23 +00:00
args.c indent: make error message for missing command line arguments clearer 2021-11-25 21:48:23 +00:00
indent.1 indent: fix definition of -cli in manual page 2021-09-26 21:31:57 +00:00
indent.c indent: treat L"string" as a single token 2021-11-28 14:29:03 +00:00
indent.h indent: treat L"string" as a single token 2021-11-28 14:29:03 +00:00
io.c indent: clean up and document input handling 2021-11-28 11:49:10 +00:00
lexi.c indent: treat L"string" as a single token 2021-11-28 14:29:03 +00:00
parse.c indent: various cleanups 2021-11-07 18:26:17 +00:00
pr_comment.c indent: rename dump functions to output 2021-11-27 18:37:17 +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