Closed Fabien-Chouteau closed 4 years ago
Thank you very much for reporting this parser bug! It should now be fixed on the master branch. :-)
Could this be updated in the Alire catalog, which is still version 0.1.0? I think I'm stumbled upon it, because it says "invalid token" when there are zeros in an array. My code is here.
Thanks for your work!
@mgrojo v0.2 is now available in Alire https://github.com/alire-project/alire-index/pull/315
Thanks!
Thanks Fabien for taking care of this while I’m mostly unavailable! ;-)
I noticed some problems with arrays:
echo 'a = ["a", "b"]' | obj-checkers/ada_toml_decode
-> OKecho 'a = [0, 1]' | obj-checkers/ada_toml_decode
->1:6: invalid token
echo 'a = [[0], [1]]' | obj-checkers/ada_toml_decode
->1:7: invalid token
echo 'a = [["a"], ["b"]]' | obj-checkers/ada_toml_decode
-> OK