Module Name: src
Committed By: rillig
Date: Tue Oct 19 20:41:42 UTC 2021
Modified Files:
src/tests/usr.bin/indent: indent_off_on.c token_comment.c
Log Message:
tests/indent: move tests for indent comments
The special INDENT ON and INDENT OFF comments look like ordinary
comments but are handled in inbuf_read_line. Implementing this feature
in the input function has several unintended side effects regarding
indentation of these comments, as demonstrated by the tests.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/indent/indent_off_on.c
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/indent/token_comment.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.