History log of /src/tests/usr.bin/indent/lsym_rbrace.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.8 04-Jan-2025 rillig

indent: fix indentation of adjacent multi-line initializers

The main topic of this change is parse.c:66, which makes the indentation
of statements uniform with the indentation of other parser symbols.

That change had the side effect of messing up the indentation of files
whose first line does not start in column 1, such as in ps_ind_level.c.
To fix this side effect, the initial indentation must be determined
before pushing the placeholder token psym_stmt during initialization.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.7 08-Jun-2023 rillig

branches: 1.7.2;
indent: clean up and condense code

No functional change.


# 1.6 04-Jun-2023 rillig

indent: fix indentation of initializers in compound expressions


# 1.5 03-Jun-2023 rillig

indent: fix indentation of adjacent '{'


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.4 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.3 24-Apr-2022 rillig

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


# 1.2 22-Apr-2022 rillig

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.


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