When trying to output a map with a key whose value is "-" it doesn't get quoted
and thus looks like a sequence as opposed to a string value. Here's a simple
reproduce:
YAML::Emitter Output;
using namespace YAML;
Output << BeginMap;
Output << Key << "key" << Value << "-";
Output << EndMap;
Original issue reported on code.google.com by sherief....@gmail.com on 11 Jan 2012 at 10:10
Original issue reported on code.google.com by
sherief....@gmail.com
on 11 Jan 2012 at 10:10