The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Sat Jun 17 22:09:24 2023 UTC (9 months, 4 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +22 -1 lines
Diff to previous 1.18 (colored)

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

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 16 23:07:52 2023 UTC (9 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

indent: fix spacing between postfix operator and left parenthesis

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jun 14 14:11:28 2023 UTC (10 months ago) by rillig
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

indent: allow more than 20 nested parentheses or brackets

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 10 08:17:04 2023 UTC (10 months ago) by rillig
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

indent: fix indentation of continuation lines in initializers

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 8 20:55:22 2023 UTC (10 months ago) by rillig
Branch: MAIN
Changes since 1.14: +6 -3 lines
Diff to previous 1.14 (colored)

indent: fix indentation of initializer lists with designators

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 8 20:49:04 2023 UTC (10 months ago) by rillig
Branch: MAIN
Changes since 1.13: +17 -1 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 4 18:58:30 2023 UTC (10 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 4 14:20:01 2023 UTC (10 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

indent: rename struct field, for better symmetry

No binary change outside debug mode.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 4 13:49:00 2023 UTC (10 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

indent: fix indentation of initializers in compound expressions

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 4 13:26:07 2023 UTC (10 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.9: +24 -4 lines
Diff to previous 1.9 (colored)

indent: fix formatting of compound expressions, at least partially

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 16 11:32:02 2023 UTC (10 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.8: +3 -4 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 11 18:13:55 2023 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.7: +2 -4 lines
Diff to previous 1.7 (colored)

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 1.7 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (23 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, 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
Changes since 1.6: +48 -48 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Sun Apr 24 08:48:17 2022 UTC (23 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.5: +191 -6 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 23 17:25:58 2022 UTC (23 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +94 -4 lines
Diff to previous 1.4 (colored)

tests/indent: add tests for unary and binary operators

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

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 13 12:04:37 2022 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.2: +20 -2 lines
Diff to previous 1.2 (colored)

tests/indent: test token '('

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

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 13 11:07:48 2022 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

tests/indent: demonstrate the poor handling of compound literals

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 18 21:19:19 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN

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.

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 <webmaster@jp.NetBSD.org>