Skip to content

Commit c0f222d

Browse files
authored
Merge pull request #1101 from osa1/update_byte_lits
Byte literal and string syntax: add missing quote escapes
2 parents 8605c23 + d8cce65 commit c0f222d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ r##"foo #"# bar"##; // foo #"# bar
235235
>
236236
> BYTE_ESCAPE :\
237237
>       `\x` HEX_DIGIT HEX_DIGIT\
238-
>    | `\n` | `\r` | `\t` | `\\` | `\0`
238+
>    | `\n` | `\r` | `\t` | `\\` | `\0` | `\'` | `\"`
239239
240240
A _byte literal_ is a single ASCII character (in the `U+0000` to `U+007F`
241241
range) or a single _escape_ preceded by the characters `U+0062` (`b`) and

0 commit comments

Comments
 (0)