majintao0131 / yaml-cpp

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

Empty keys/values don't work properly in a flow map #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example 7.17 in the 1.2 spec:

    {
    unquoted : "separate",
    http://foo.com,
    omitted value:,
    : omitted key,
    }

gives "end of map flow not found".

Original issue reported on code.google.com by jbe...@gmail.com on 2 Sep 2009 at 9:43

GoogleCodeExporter commented 9 years ago
r236 fixes the omitted key and omitted value bug (but not the solo entry 
interpreted
as a key with null value).

Original comment by jbe...@gmail.com on 2 Sep 2009 at 9:44

GoogleCodeExporter commented 9 years ago
Solo entry stuff fixed (r241).

Original comment by jbe...@gmail.com on 5 Sep 2009 at 10:42