The NetBSD Project

CVS log for src/tests/usr.bin/indent/lsym_unary_op.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.13: download - view: text, markup, annotated - select for diffs
Sun Oct 22 21:03:08 2023 UTC (13 months, 2 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
tests/indent: clean up comments

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jun 17 22:09:24 2023 UTC (17 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +25 -1 lines
tests/indent: add miscellaneous test cases found during clean up

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jun 16 12:55:57 2023 UTC (17 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -11 lines
indent: improve heuristics for casts

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 8 21:18:54 2023 UTC (18 months ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -5 lines
indent: remove fragile heuristic for detecting cast expressions

The assumption that in an expression of the form '(a * anything)', the
'*' marks a pointer type was too simple-minded.

For now, fix the obvious cases and leave the others for later.  If
needed, they can be worked around using the '-T' option.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jun 8 20:49:04 2023 UTC (18 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -1 lines
tests/indent: add more tests, from indent's own code

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 2 14:21:55 2023 UTC (18 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -3 lines
indent: improve heuristics of classifying '*' as pointer or operator

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 23 06:18:00 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -1 lines
tests/indent: add code snippets found in make and lint1

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 13 06:52:48 2023 UTC (19 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +24 -1 lines
tests/indent: explain, clean up and add some tests

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 24 10:36:37 2022 UTC (2 years, 7 months ago) by rillig
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +35 -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 - view: text, markup, annotated - select for diffs
Sun Apr 24 09:04:12 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 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.3: download - view: text, markup, annotated - select for diffs
Sat Apr 23 09:35:26 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -2 lines
tests/indent: migrate tests for unary and binary operators

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Apr 22 21:21:20 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -2 lines
indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 18 21:19:19 2021 UTC (3 years ago) by rillig
Branches: 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.

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>