OpenGrok
Cross Reference: opt_fc1.c
xref
: /
src
/
tests
/
usr.bin
/
indent
/
opt_fc1.c
Home
|
History
|
Annotate
|
Download
|
only in
indent
History log of
/src/tests/usr.bin/indent/opt_fc1.c
Revision
Date
Author
Comments
1.11
14-May-2023
rillig
indent: fix handling of multiple block comments in a line
1.10
14-May-2023
rillig
indent: in comments, keep a leading tab
This kind of comments is used for the CVS IDs at the top of files.
1.9
13-May-2023
rillig
indent: do not add a space before a comment that starts a line
1.8
24-Apr-2022
rillig
tests/indent: change directive from '#' to '//'
Using a '//' instead of '#' turns the directives into well-formed C
code, resulting in fewer error markers in the editor.
1.7
22-Apr-2022
rillig
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
1.6
25-Nov-2021
rillig
indent: fix accidentally joined and broken comments (since 2019-04-04)
The fixed version is not perfect as it gets the indentation of the last
line of the first comment wrong, but at least indent doesn't generate
malformed output anymore.
1.5
20-Nov-2021
rillig
tests/indent: clean up and extend tests
1.4
18-Oct-2021
rillig
tests/indent: merge duplicate input/output and output/output
No functional change.
1.3
16-Oct-2021
rillig
tests/lint: document and extend the tests for options
1.2
16-Oct-2021
rillig
tests/indent: remove duplicate data from options tests
1.1
16-Oct-2021
rillig
tests/indent: condense tests for bool options
Previously, each bool option such as '-bacc/-nbacc' had 6 test files:
input, options, output for the positive and negative option. Splitting
this test data into separate files made it harder than necessary to
quickly compare the test output from '-bacc' with that of '-nbacc'.
Have a single test for the positive and negative option, allowing
several tests to run on the same input with different options.
This commit only contains the rather mechanic changes of concatenating
the previous test files and inserting the '#indent' directives, which
are documented in t_options.sh. Removing duplicate input sections, as
well as other cleanups will follow soon.
No functional change.
Indexes created Sat Oct 18 16:10:06 GMT 2025