The NetBSD Project

CVS log for src/tests/usr.bin/indent/fmt_else_comment.c

[BACK] Up to [] / src / tests / usr.bin / indent

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 23 20:44:51 2023 UTC (8 months ago) by rillig
Branch: MAIN
Changes since 1.5: +10 -7 lines
Diff to previous 1.5 (colored)

tests/indent: fix comments

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 11 09:28:53 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

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 1.4 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (22 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.3: +9 -9 lines
Diff to previous 1.3 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 22 21:21:20 2022 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 19 22:24:29 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1: +37 -17 lines
Diff to previous 1.1 (colored)

tests/indent: refine and extend tests

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 22 19:27:53 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN

tests/indent: migrate a few more tests to t_options

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>