Fix typo in grammar: underscore, not minus, can appear amongst hex digits.

This commit is contained in:
Felix S. Klock II 2013-02-25 16:34:38 +01:00
parent b26d434ad1
commit b8dd2d8c67

View File

@ -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 ;