The NetBSD Project

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

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

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.2, Sun Nov 28 14:29:03 2021 UTC (14 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1: +1 -1 lines

indent: treat L"string" as a single token

There is never whitespace between the 'L' and the string literal or the
character constant. There might be a backslash-newline between them, but
that case was not handled before either.

No functional change.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 18 21:19:19 2021 UTC (14 months, 2 weeks ago) by rillig
Branch: 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.

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 <>