kastnermario / yaml-cpp

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

Emitter fails when trying to emit an empty block sequence or map #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When you try to emit an empty block sequence or map, the emitter fails an
assertion

    assert(curState == ES_DONE_WITH_BLOCK_SEQ_ENTRY);

(and sim.)

It should switch automatically to emitting an empty flow sequence or map.

Original issue reported on code.google.com by jbe...@gmail.com on 22 Oct 2009 at 2:18

GoogleCodeExporter commented 8 years ago
Fixed (r284).

Original comment by jbe...@gmail.com on 22 Oct 2009 at 2:21