History log of /netbsd-current/tests/usr.bin/indent/opt_bc.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.13 17-Jun-2023 rillig

tests/indent: add miscellaneous test cases found during clean up


# 1.12 14-Jun-2023 rillig

indent: clean up the code, add a few tests


# 1.11 14-Jun-2023 rillig

indent: allow more than 20 nested parentheses or brackets


# 1.10 10-Jun-2023 rillig

indent: fix token classification in declarations

As a side effect, indent handles _Generic from C11 properly now, at
least in -nlp mode.


# 1.9 10-Jun-2023 rillig

indent: rename and sort variables in parser state

No functional change.


# 1.8 02-Jun-2023 rillig

indent: fix formatting of declarations with preprocessing lines


# 1.7 02-Jun-2023 rillig

tests/indent: demonstrate bugs when formatting preprocessing lines


Revision tags: netbsd-10-base
# 1.6 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.5 22-Apr-2022 rillig

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.


# 1.4 19-Nov-2021 rillig

tests/indent: refine and extend tests


# 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.


# 1.6 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.5 22-Apr-2022 rillig

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.


# 1.4 19-Nov-2021 rillig

tests/indent: refine and extend tests


# 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.


# 1.5 22-Apr-2022 rillig

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.


# 1.4 19-Nov-2021 rillig

tests/indent: refine and extend tests


# 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.


# 1.4 19-Nov-2021 rillig

tests/indent: refine and extend tests


# 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.