Skip to content

Commit

Permalink
fixes #56
Browse files Browse the repository at this point in the history
  • Loading branch information
saemideluxe authored and Vindaar committed Jan 12, 2025
1 parent 4d6c9ed commit 89efad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsetoml.nim
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ proc parseNumOrDate(state: var ParserState): TomlValueRef =
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:
Expand Down

0 comments on commit 89efad4

Please sign in to comment.