|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| #
1.8 |
|
14-Jun-2023 |
rillig |
indent: clean up the code, add a few tests
|
| #
1.7 |
|
22-May-2023 |
rillig |
indent: fix spacing between block braces
|
| #
1.6 |
|
13-May-2023 |
rillig |
tests/indent: explain, clean up and add some tests
|
| #
1.5 |
|
11-May-2023 |
rillig |
indent: remove buggy code for swapping tokens
It is not the job of an indenter to swap tokens, even if it's only about placing comments elsewhere. The code that swapped the tokens was complicated, buggy and impossible to understand.
In -br (brace right) mode, indent no longer moves a '{' from the beginning of a line to the end of the previous line, as that was handled by the token swapping code as well. This change is unintended, but it will be easier to re-add that now that the code is simpler.
|
|
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 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
| #
1.2 |
|
19-Nov-2021 |
rillig |
tests/indent: refine and extend tests
|
| #
1.1 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|