kubkon / zig-yaml

YAML parser for Zig
MIT License
139 stars 37 forks source link

Error when parsing value with colon (:) #18

Open rguiscard opened 1 year ago

rguiscard commented 1 year ago

When value has colon like this:

date: 2023-07-01 18:00

It will fail at src/parse.zig line 457. It is due the the colon. It will work by removing the colon.

I also noticed that this will work:

date: 18:00

but not this:

date: x 18:00