kastnermario / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

Empty strings are loaded as "~" #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When an empty string ("") is saved through yaml-cpp, the resulting YAML is 
something like this: "value:  ".

(I'm not even sure if this is proper YAML syntax, I think empty strings have to 
be explicitly quoted as "", but don't quote me on that)

Anyways, when loaded back through yaml-cpp, they come back as "~", which is 
obviously not what's wanted.

Original issue reported on code.google.com by supsu...@gmail.com on 31 Aug 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Thanks! Fixed, r65f832500fdd.

Original comment by jbe...@gmail.com on 6 Sep 2011 at 5:24