]> andersk Git - libyaml.git/commitdiff
This code is not needed and breaks tests
authorIngy döt Net <ingy@ingy.net>
Fri, 16 Sep 2016 15:22:56 +0000 (08:22 -0700)
committerIngy döt Net <ingy@ingy.net>
Wed, 21 Sep 2016 18:17:39 +0000 (11:17 -0700)
This code was disabled in Perl binding for breaking tests.

Kirill said on IRC:

< rz> ingy: i'm not sure why i set open_ended in yaml_emitter_write_plain_scalar

src/emitter.c

index c4b56a26bb56e33cd3b2a54eee040211c39cae96..12894371745d9d7bc2f65a20bdf17e8d65e2a452 100644 (file)
@@ -1946,10 +1946,6 @@ yaml_emitter_write_plain_scalar(yaml_emitter_t *emitter,
 
     emitter->whitespace = 0;
     emitter->indention = 0;
-    if (emitter->root_context)
-    {
-        emitter->open_ended = 1;
-    }
 
     return 1;
 }
This page took 0.035078 seconds and 5 git commands to generate.