Skip to content

Commit

Permalink
Fix: digits should not include underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliobz committed Sep 23, 2017
1 parent e560bb6 commit 4de83de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,13 @@ literal_. The grammar for recognizing the two kinds of literals is mixed.
> HEX_LITERAL :
> &nbsp;&nbsp; `0x` (HEX_DIGIT|`_`)<sup>\*</sup> HEX_DIGIT (HEX_DIGIT|`_`)<sup>\*</sup>
>
> BIN_DIGIT : [`0`-`1` `_`]
> BIN_DIGIT : [`0`-`1`]
>
> OCT_DIGIT : [`0`-`7` `_`]
> OCT_DIGIT : [`0`-`7`]
>
> DEC_DIGIT : [`0`-`9` `_`]
> DEC_DIGIT : [`0`-`9`]
>
> HEX_DIGIT : [`0`-`9` `a`-`f` `A`-`F` `_`]
> HEX_DIGIT : [`0`-`9` `a`-`f` `A`-`F`]
>
> INTEGER_SUFFIX :
> &nbsp;&nbsp; &nbsp;&nbsp; `u8` | `u16` | `u32` | `u64` | `usize`
Expand Down

0 comments on commit 4de83de

Please sign in to comment.