@@ -262,7 +262,7 @@ r[lex.token.byte.syntax]
262
262
>   ;  ; ` b' ` ( ASCII_FOR_CHAR | BYTE_ESCAPE ) ` ' ` SUFFIX<sup >?</sup >
263
263
>
264
264
> ASCII_FOR_CHAR :\
265
- >   ;  ; _ any ASCII (i.e. 0x00 to 0x7F) except _ ` ' ` , ` \ ` , LF, CR, or TAB
265
+ >   ;  ; \< any ASCII (i.e. 0x00 to 0x7F) except ` ' ` , ` \ ` , LF, CR, or TAB\>
266
266
>
267
267
> BYTE_ESCAPE :\
268
268
>   ;  ;   ;  ; ` \x ` HEX_DIGIT HEX_DIGIT\
@@ -285,7 +285,7 @@ r[lex.token.str-byte.syntax]
285
285
>   ;  ; ` b" ` ( ASCII_FOR_STRING | BYTE_ESCAPE | STRING_CONTINUE )<sup >\* </sup > ` " ` SUFFIX<sup >?</sup >
286
286
>
287
287
> ASCII_FOR_STRING :\
288
- >   ;  ; _ any ASCII (i.e 0x00 to 0x7F) except _ ` " ` , ` \ ` , _ or CR _
288
+ >   ;  ; \< any ASCII (i.e 0x00 to 0x7F) except ` " ` , ` \ ` , or CR \>
289
289
290
290
r[ lex.token.str-byte.intro]
291
291
A non-raw _ byte string literal_ is a sequence of ASCII characters and _ escapes_ ,
@@ -337,7 +337,7 @@ r[lex.token.str-byte-raw.syntax]
337
337
>   ;  ; | ` # ` RAW_BYTE_STRING_CONTENT ` # `
338
338
>
339
339
> ASCII_FOR_RAW :\
340
- >   ;  ; _ any ASCII (i.e. 0x00 to 0x7F) except CR _
340
+ >   ;  ; \< any ASCII (i.e. 0x00 to 0x7F) except CR \>
341
341
342
342
r[ lex.token.str-byte-raw.intro]
343
343
Raw byte string literals do not process any escapes. They start with the
@@ -693,10 +693,10 @@ r[lex.token.literal.reserved.syntax]
693
693
>   ;  ; | ( BIN_LITERAL | OCT_LITERAL | HEX_LITERAL ) ` . ` \
694
694
>   ;  ;   ;  ;   ;  ; _ (not immediately followed by ` . ` , ` _ ` or an XID_Start character)_ \
695
695
>   ;  ; | ( BIN_LITERAL | OCT_LITERAL ) (` e ` |` E ` )\
696
- >   ;  ; | ` 0b ` ` _ ` <sup >\* </sup > _ end of input or not BIN_DIGIT _ \
697
- >   ;  ; | ` 0o ` ` _ ` <sup >\* </sup > _ end of input or not OCT_DIGIT _ \
698
- >   ;  ; | ` 0x ` ` _ ` <sup >\* </sup > _ end of input or not HEX_DIGIT _ \
699
- >   ;  ; | DEC_LITERAL ( . DEC_LITERAL)<sup >?</sup > (` e ` |` E ` ) (` + ` |` - ` )<sup >?</sup > _ end of input or not DEC_DIGIT _
696
+ >   ;  ; | ` 0b ` ` _ ` <sup >\* </sup > \< end of input or not BIN_DIGIT \> \
697
+ >   ;  ; | ` 0o ` ` _ ` <sup >\* </sup > \< end of input or not OCT_DIGIT \> \
698
+ >   ;  ; | ` 0x ` ` _ ` <sup >\* </sup > \< end of input or not HEX_DIGIT \> \
699
+ >   ;  ; | DEC_LITERAL ( . DEC_LITERAL)<sup >?</sup > (` e ` |` E ` ) (` + ` |` - ` )<sup >?</sup > \< end of input or not DEC_DIGIT \>
700
700
701
701
r[ lex.token.literal.reserved.intro]
702
702
The following lexical forms similar to number literals are _ reserved forms_ .
0 commit comments