Module Name: src Committed By: rillig Date: Sat Oct 30 15:26:58 UTC 2021
Modified Files: src/tests/usr.bin/indent: t_errors.sh token_comment.c src/usr.bin/indent: indent.c Log Message: indent: revert previous fix of assertion failure The strange code with the out of bounds memory access is needed to transform 'if (expr) /* comment */ {' to 'if (expr) { /* comment */', that is, to move the comment to the right. Add a test that prevents "repairing" this code again. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/tests/usr.bin/indent/t_errors.sh cvs rdiff -u -r1.12 -r1.13 src/tests/usr.bin/indent/token_comment.c cvs rdiff -u -r1.187 -r1.188 src/usr.bin/indent/indent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.