You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tokens.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -469,7 +469,7 @@ c"\xC3\xA6";
469
469
470
470
r[lex.token.str-c.edition2021]
471
471
> [!EDITION-2021]
472
-
> C string literals are accepted in the 2021 edition or later. In earlier additions the token `c""` is lexed as `c ""`.
472
+
> C string literals are accepted in the 2021 edition or later. In earlier editions the token `c""` is lexed as `c ""`.
473
473
474
474
r[lex.token.str-c-raw]
475
475
#### Raw C string literals
@@ -501,7 +501,7 @@ literal) or `U+005C` (`\`) do not have any special meaning.
501
501
502
502
r[lex.token.str-c-raw.edition2021]
503
503
> [!EDITION-2021]
504
-
> Raw C string literals are accepted in the 2021 edition or later. In earlier additions the token `cr""` is lexed as `cr ""`, and `cr#""#` is lexed as `cr #""#` (which is non-grammatical).
504
+
> Raw C string literals are accepted in the 2021 edition or later. In earlier editions the token `cr""` is lexed as `cr ""`, and `cr#""#` is lexed as `cr #""#` (which is non-grammatical).
505
505
506
506
#### Examples for C string and raw C string literals
507
507
@@ -791,7 +791,7 @@ It is an error to use the RESERVED_RAW_LIFETIME token `'r#_` in order to avoid c
791
791
792
792
r[lex.token.life.raw.edition2021]
793
793
> [!EDITION-2021]
794
-
> Raw lifetimes are accepted in the 2021 edition or later. In earlier additions the token `'r#lt` is lexed as `'r # lt`.
794
+
> Raw lifetimes are accepted in the 2021 edition or later. In earlier editions the token `'r#lt` is lexed as `'r # lt`.
0 commit comments