Fix typo in grammar: underscore, not minus, can appear amongst hex digits.
This commit is contained in:
parent
b26d434ad1
commit
b8dd2d8c67
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ the following forms:
|
|||
num_lit : nonzero_dec [ dec_digit | '_' ] * num_suffix ?
|
||||
| '0' [ [ dec_digit | '_' ] + num_suffix ?
|
||||
| 'b' [ '1' | '0' | '_' ] + int_suffix ?
|
||||
| 'x' [ hex_digit | '-' ] + int_suffix ? ] ;
|
||||
| 'x' [ hex_digit | '_' ] + int_suffix ? ] ;
|
||||
|
||||
num_suffix : int_suffix | float_suffix ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue