Skip to content

Commit

Permalink
Merge pull request #1101 from osa1/update_byte_lits
Browse files Browse the repository at this point in the history
Byte literal and string syntax: add missing quote escapes
  • Loading branch information
ehuss authored Nov 22, 2021
2 parents 8605c23 + d8cce65 commit c0f222d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ r##"foo #"# bar"##; // foo #"# bar
>
> BYTE_ESCAPE :\
>       `\x` HEX_DIGIT HEX_DIGIT\
>    | `\n` | `\r` | `\t` | `\\` | `\0`
>    | `\n` | `\r` | `\t` | `\\` | `\0` | `\'` | `\"`
A _byte literal_ is a single ASCII character (in the `U+0000` to `U+007F`
range) or a single _escape_ preceded by the characters `U+0062` (`b`) and
Expand Down

0 comments on commit c0f222d

Please sign in to comment.