Skip to content

Commit 13ef57c

Browse files
committed
Reword the first sentence describing literal suffixes.
Make it say that a suffix of the same form as a keyword is permitted. Make it clearer that the "Reserved prefixes" rule doesn't apply to suffixes.
1 parent 6f47be4 commit 13ef57c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tokens.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ evaluated (primarily) at compile time.
8888

8989
#### Suffixes
9090

91-
A suffix is a non-raw identifier immediately (without whitespace)
92-
following the primary part of a literal.
91+
A suffix is a sequence of characters following the primary part of a literal (without intervening whitespace), of the same form as a non-raw identifier or keyword.
9392

9493
Any kind of literal (string, integer, etc) with any suffix is valid as a token,
9594
and can be passed to a macro without producing an error.

0 commit comments

Comments
 (0)