Module Name: src Committed By: rillig Date: Sat Feb 12 19:56:53 UTC 2022
Modified Files: src/tests/usr.bin/indent: lsym_typedef.c src/usr.bin/indent: indent.h io.c lexi.c Log Message: indent: fix indentation of enum constants in typedef (since 2019-04-04) The solution is not elegant since it adds a small state machine inside the parser state, but at least these states only depend on the sequence of token types and not on any other part of the parser state. Reported in PR#55453. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/indent/lsym_typedef.c cvs rdiff -u -r1.107 -r1.108 src/usr.bin/indent/indent.h cvs rdiff -u -r1.143 -r1.144 src/usr.bin/indent/io.c cvs rdiff -u -r1.168 -r1.169 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.