The NetBSD Project

CVS log for src/tests/usr.bin/indent/Attic/token_unary_op.c

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

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.5, Sun Apr 24 10:36:37 2022 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.4: +1 -1 lines

tests/indent: migrate token tests to other tests

In indent.h 1.49 from 2021-10-25, the enumeration token_type was split
into lexer_symbol and parser_symbol to more clearly express that these
tokens fall into completely different classes of usage patterns.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.3: +5 -5 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], Thu Nov 4 17:12:12 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

indent: fix joining of adjacent unary '+' operators

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 18 22:30:34 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN

tests/indent: condense the token tests

This reduces the number of files in the test directory. It also allows
the tests to be read from top to bottom, looking at only a single file.

Since t_options.awk complains about files that don't have any test case
at all, add some test for each token kind. Most of the tests had
previously been effectively empty.

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