OpenGrok
Cross Reference: lsym_typedef.c
xref
: /
src
/
tests
/
usr.bin
/
indent
/
lsym_typedef.c
Home
|
History
|
Annotate
|
Download
|
only in
indent
History log of
/src/tests/usr.bin/indent/lsym_typedef.c
Revision
Date
Author
Comments
1.9
17-Jun-2023
rillig
tests/indent: add miscellaneous test cases found during clean up
1.8
16-Jun-2023
rillig
indent: fix indentation and linebreaks in typedef declarations
1.7
16-Jun-2023
rillig
tests/indent: demonstrate wrong tokenization after typedef
Since 2023-06-10 06:52, which fixed the indentation of C11 _Generic
expressions.
1.6
24-Apr-2022
rillig
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.
1.5
24-Apr-2022
rillig
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.
1.4
22-Apr-2022
rillig
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
1.3
12-Feb-2022
rillig
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.
1.2
12-Feb-2022
rillig
tests/indent: demonstrate wrong formatting of enum (since 2019-04-04)
Reported by me in PR#55453.
1.1
18-Nov-2021
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.
Indexes created Tue Oct 14 15:09:51 GMT 2025