BinaryMuse / toml-node

TOML parser for Node.js and the Browser. Parses TOML v0.4.0

Home Page:http://binarymuse.github.io/toml-node/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toml-node don't accept single quoted key

bungcip opened this issue · comments

'key2' = "value"

produce error

Error at line 1 column 1:
Expected "#", "[", "\"", "\n", "\r", [ \t], [A-Za-z0-9_\-] or end of input but "'" found.

which is valid input according TOML Spec
(https://github.com/toml-lang/toml#user-content-keyvalue-pair).

Thanks for the report! This is fixed in v2.3.2.