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

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


# 1.18 16-Jun-2023 rillig

indent: fix spacing between postfix operator and left parenthesis


# 1.17 14-Jun-2023 rillig

indent: allow more than 20 nested parentheses or brackets


# 1.16 10-Jun-2023 rillig

indent: fix indentation of continuation lines in initializers


# 1.15 08-Jun-2023 rillig

indent: fix indentation of initializer lists with designators


# 1.14 08-Jun-2023 rillig

tests/indent: add more tests, from indent's own code


# 1.13 04-Jun-2023 rillig

indent: force at least one space after the colon of a label


# 1.12 04-Jun-2023 rillig

indent: rename struct field, for better symmetry

No binary change outside debug mode.


# 1.11 04-Jun-2023 rillig

indent: fix indentation of initializers in compound expressions


# 1.10 04-Jun-2023 rillig

indent: fix formatting of compound expressions, at least partially


# 1.9 16-May-2023 rillig

indent: remove support for form feed characters inside a line

Form feeds are occasionally used to split code into pages, and this use
is still supported. Having a form feed in the middle of a line is
exotic.


# 1.8 11-May-2023 rillig

indent: remove broken code for handling blank lines

This fixes several bugs where blank lines were erroneously added or
removed, treating these old bugs for new bugs in different places.
These new bugs are expected to be easier to fix, as the old bugs will
not interfere anymore.


Revision tags: netbsd-10-base
# 1.7 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.6 24-Apr-2022 rillig

tests/indent: migrate tests for parentheses, brackets, braces


# 1.5 23-Apr-2022 rillig

tests/indent: add tests for unary and binary operators


# 1.4 22-Apr-2022 rillig

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.


# 1.3 13-Feb-2022 rillig

tests/indent: test token '('

There are already some tests in token_lparen.c that need to be merged.


# 1.2 13-Feb-2022 rillig

tests/indent: demonstrate the poor handling of compound literals


# 1.1 18-Nov-2021 rillig

tests/indent: add skeletons for testing tokens and parser symbols

The constants that were previously defined in indent_codes.h were a wild
mixture of tokens from the lexer and symbols on the parser stack. They
were split into separate types starting at indent.h 1.49 from 2021-10-25
and finishing at 1.73 from 2021-10-31.

To match the tests with the new token names, the old tests need to be
migrated to the newly added tests. This will take some time so first
add the skeletons and migrate them in smaller steps, cleaning them up
and extending them on the way.


# 1.7 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.6 24-Apr-2022 rillig

tests/indent: migrate tests for parentheses, brackets, braces


# 1.5 23-Apr-2022 rillig

tests/indent: add tests for unary and binary operators


# 1.4 22-Apr-2022 rillig

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.


# 1.3 13-Feb-2022 rillig

tests/indent: test token '('

There are already some tests in token_lparen.c that need to be merged.


# 1.2 13-Feb-2022 rillig

tests/indent: demonstrate the poor handling of compound literals


# 1.1 18-Nov-2021 rillig

tests/indent: add skeletons for testing tokens and parser symbols

The constants that were previously defined in indent_codes.h were a wild
mixture of tokens from the lexer and symbols on the parser stack. They
were split into separate types starting at indent.h 1.49 from 2021-10-25
and finishing at 1.73 from 2021-10-31.

To match the tests with the new token names, the old tests need to be
migrated to the newly added tests. This will take some time so first
add the skeletons and migrate them in smaller steps, cleaning them up
and extending them on the way.


# 1.4 22-Apr-2022 rillig

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.


# 1.3 13-Feb-2022 rillig

tests/indent: test token '('

There are already some tests in token_lparen.c that need to be merged.


# 1.2 13-Feb-2022 rillig

tests/indent: demonstrate the poor handling of compound literals


# 1.1 18-Nov-2021 rillig

tests/indent: add skeletons for testing tokens and parser symbols

The constants that were previously defined in indent_codes.h were a wild
mixture of tokens from the lexer and symbols on the parser stack. They
were split into separate types starting at indent.h 1.49 from 2021-10-25
and finishing at 1.73 from 2021-10-31.

To match the tests with the new token names, the old tests need to be
migrated to the newly added tests. This will take some time so first
add the skeletons and migrate them in smaller steps, cleaning them up
and extending them on the way.


# 1.3 13-Feb-2022 rillig

tests/indent: test token '('

There are already some tests in token_lparen.c that need to be merged.


# 1.2 13-Feb-2022 rillig

tests/indent: demonstrate the poor handling of compound literals


# 1.1 18-Nov-2021 rillig

tests/indent: add skeletons for testing tokens and parser symbols

The constants that were previously defined in indent_codes.h were a wild
mixture of tokens from the lexer and symbols on the parser stack. They
were split into separate types starting at indent.h 1.49 from 2021-10-25
and finishing at 1.73 from 2021-10-31.

To match the tests with the new token names, the old tests need to be
migrated to the newly added tests. This will take some time so first
add the skeletons and migrate them in smaller steps, cleaning them up
and extending them on the way.