Module Name: src Committed By: rillig Date: Tue Oct 26 21:37:27 UTC 2021
Modified Files: src/tests/usr.bin/indent: token_comment.c src/usr.bin/indent: indent.c pr_comment.c Log Message: indent: clean up process_comment There is no undefined behavior since the compared characters are always from the basic execution character set. All other cases are covered by the condition above for now_len. Fix debug logging for non-ASCII characters, previously a character was output as \xffffffc3. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/indent/token_comment.c cvs rdiff -u -r1.161 -r1.162 src/usr.bin/indent/indent.c cvs rdiff -u -r1.86 -r1.87 src/usr.bin/indent/pr_comment.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.