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


Keyword substitution: kv
Default branch: MAIN


Revision 1.8
Sun Apr 24 10:36:37 2022 UTC (3 years ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
FILE REMOVED
Changes since revision 1.7: +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.7: download - view: text, markup, annotated - select for diffs
Sun Apr 24 09:04:12 2022 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -16 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 22 21:21:20 2022 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Nov 20 11:13:18 2021 UTC (3 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
tests/indent: normalize empty lines in tests

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Nov 20 09:59:53 2021 UTC (3 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
indent: clean up lint annotation and tests

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Nov 7 20:16:50 2021 UTC (3 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +16 -1 lines
tests/indent: document quick-and-dirty approach of lex_number

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Nov 7 19:25:26 2021 UTC (3 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +16 -1 lines
tests/indent: test identifiers containing '$'

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Oct 18 18:10:20 2021 UTC (3 years, 6 months ago) by rillig
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>