dezhidki / Tommy

A single-file TOML reader and writer for C#
MIT License
212 stars 16 forks source link

Parsing creates zero-length comments for uncommented nodes #13

Closed FrancisRussell closed 3 years ago

FrancisRussell commented 3 years ago

I've been working on an application which uses Tommy in order to modify and existing TOML file. The newly created file has no-content comments for every entry. Though I don't have time to track this down fully, it looks like the parser may transform an absence of a comment to a zero-length string.

dezhidki commented 3 years ago

This should be fixed with the new 1.0.0 compliant implementation as per #17. If the issue still persists, this issue ticket will be reopened.