Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 24 10:36:37 2022 UTC (9 months, 1 week ago) by rillig
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.5: +12 -1 lines
Diff to previous 1.5 (colored)
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.5 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (9 months, 1 week ago) by rillig
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Fri Apr 22 21:21:20 2022 UTC (9 months, 2 weeks ago) by rillig
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], Sat Feb 12 19:56:52 2022 UTC (11 months, 3 weeks ago) by rillig
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (colored)
indent: fix indentation of enum constants in typedef (since 2019-04-04) The solution is not elegant since it adds a small state machine inside the parser state, but at least these states only depend on the sequence of token types and not on any other part of the parser state. Reported in PR#55453.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 12 13:38:29 2022 UTC (11 months, 3 weeks ago) by rillig
Changes since 1.1: +41 -3 lines
Diff to previous 1.1 (colored)
tests/indent: demonstrate wrong formatting of enum (since 2019-04-04) Reported by me in PR#55453.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 18 21:19:19 2021 UTC (14 months, 2 weeks ago) by rillig
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.