Fixed type hints for floats

This commit is contained in:
Andrea Ferretti 2016-07-07 17:14:18 +02:00
parent a3c3237b62
commit 2d89cb7d36
1 changed files with 6 additions and 5 deletions

View File

@ -77,6 +77,7 @@ template advanceTypeHint(ch: char) {.dirty.} =
of '0':
[ythInitial, ythMinus] => yth0
[ythNumE, ythNumEPlusMinus] => ythExponent
[ythInt, ythDecimal, ythExponent] => nil
of '1'..'9':
[ythInitial, ythMinus] => ythInt
[ythNumE, ythNumEPlusMinus] => ythExponent