Module Name: src Committed By: rillig Date: Sat Oct 30 22:15:51 UTC 2021
Modified Files: src/usr.bin/indent: indent.h lexi.c Log Message: indent: clean up lexical analyzer Use traditional type for small unsigned numbers instead of uint8_t; the required header was not included. Remove assertion for debug mode; lint takes care of ensuring that the enum constants match the length of the names array. Constify a name array. Move the comparison function for bsearch closer to its caller. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/usr.bin/indent/indent.h cvs rdiff -u -r1.114 -r1.115 src/usr.bin/indent/lexi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.