changeset 1380:4aa9e703af48

did: merge shit?
author sam <sam@basx.dev>
date Thu, 12 Dec 2024 21:35:34 +0700
parents 31f57a969ffd (diff) 9ca552dad5fc (current diff)
children c8d1b87cf6c8
files tests/test_text.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/thirdparty/parsetoml.nim	Thu Dec 12 19:17:43 2024 +0700
+++ b/semicongine/thirdparty/parsetoml.nim	Thu Dec 12 21:35:34 2024 +0700
@@ -841,7 +841,7 @@
           case nextChar
           of '.':
             return parseFloat(state, 0, forcedSign)
-          of strutils.Whitespace:
+          of strutils.Whitespace, ']':
             state.pushBackChar(nextChar)
             return TomlValueRef(kind: TomlValueKind.Int, intVal: 0)
           of strutils.Digits: