Allow float suffix of 'f' or 'F'
This commit is contained in:
parent
c9efa13bcd
commit
97b4a2ee1f
|
@ -39,7 +39,7 @@ grammar "Preserves":
|
||||||
exp <- 'e' * ?('-'|'+') * +Digit
|
exp <- 'e' * ?('-'|'+') * +Digit
|
||||||
flt <- int * ((frac * exp) | frac | exp)
|
flt <- int * ((frac * exp) | frac | exp)
|
||||||
|
|
||||||
Float <- >flt * 'f'
|
Float <- >flt * {'f','F'}
|
||||||
Double <- flt
|
Double <- flt
|
||||||
|
|
||||||
SignedInteger <- int
|
SignedInteger <- int
|
||||||
|
|
Loading…
Reference in New Issue