mirror of
https://github.com/status-im/NimYAML.git
synced 2025-01-12 04:24:16 +00:00
Merge pull request #21 from andreaferretti/devel
Fixed type hints for floats
This commit is contained in:
commit
b41ab142d5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user