From 75548f956b58b0573a482eaabd224ad9b656c78c Mon Sep 17 00:00:00 2001 From: flyx Date: Wed, 29 Mar 2017 15:40:13 +0200 Subject: [PATCH] Fixes #37 --- yaml/hints.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml/hints.nim b/yaml/hints.nim index c977d7d..c518e63 100644 --- a/yaml/hints.nim +++ b/yaml/hints.nim @@ -111,7 +111,7 @@ template advanceTypeHint(ch: char) {.dirty.} = typeHintStateMachine ch: of '~': ythInitial => ythNULL of '.': - [yth0, ythInt1, ythInt2, ythInt3, ythInt4, ythInt] => ythDecimal + [yth0, ythInt1Zero, ythInt1, ythInt2, ythInt3, ythInt4, ythInt] => ythDecimal [ythInitial, ythMinus] => ythPoint ythSecond2 => ythFraction of '+':