The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8, Sun Apr 24 10:36:37 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED

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.7 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.6: +16 -16 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], Fri Apr 22 21:21:20 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Nov 20 11:13:18 2021 UTC (14 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

tests/indent: normalize empty lines in tests

Revision 1.4 / (download) - annotate - [select for diffs], Sat Nov 20 09:59:53 2021 UTC (14 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

indent: clean up lint annotation and tests

Revision 1.3 / (download) - annotate - [select for diffs], Sun Nov 7 20:16:50 2021 UTC (14 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +16 -1 lines
Diff to previous 1.2 (colored)

tests/indent: document quick-and-dirty approach of lex_number

Revision 1.2 / (download) - annotate - [select for diffs], Sun Nov 7 19:25:26 2021 UTC (14 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1: +16 -1 lines
Diff to previous 1.1 (colored)

tests/indent: test identifiers containing '$'

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 18 18:10:20 2021 UTC (15 months, 1 week ago) by rillig
Branch: MAIN

tests/indent: merge tests for numbers into token_ident

The previous tests 'binary' and 'float' not only test binary and
floating point numbers, making their names too specific. Move them into
a new test token_ident that covers all "identifier-like" tokens, just as
in the code.

The test cases for the option '-cs' are already covered more
systematically in opt_cs.c, so remove that test.

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>