diff options
| author | rillig <rillig@NetBSD.org> | 2023-05-11 09:28:53 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2023-05-11 09:28:53 +0000 |
| commit | b2d78a8e91e933ec1c900a934ea528987a1e8e8b (patch) | |
| tree | 1671b6f671ac2b16f708c6b34f5ac22ffd64669c /sys/dev | |
| parent | dc8694316228e1439e636b2e954f13fd2df04a00 (diff) | |
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.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
