• Raffaello Bertini's avatar
    Fix YAML::Newline in a sequence or map. · 1c2e7673
    Raffaello Bertini authored
    Inside of a sequence or map, `YAML::Newline` wouldn't reset the collection state, which would cause behavior like this:
    
    ```
    nodeA:   
        k: [{i: 0},
     {i:1},
      ]NodeB:
        k: [{i: 0},
     {i:1},
      ]
    ```
    1c2e7673
emitter_test.cpp 36.8 KB