BinaryMuse / toml-node

TOML parser for Node.js and the Browser. Parses TOML v0.4.0
http://binarymuse.github.io/toml-node/
MIT License
306 stars 30 forks source link

toml-node don't accept single quoted key #34

Closed bungcip closed 7 years ago

bungcip commented 7 years ago
'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).

BinaryMuse commented 7 years ago

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