From: Ingy döt Net Date: Fri, 16 Sep 2016 15:22:56 +0000 (-0700) Subject: This code is not needed and breaks tests X-Git-Tag: upstream/0.2.1^2~57 X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/commitdiff_plain/56400d976a1999156b1abfd674c3122843980260 This code is not needed and breaks tests 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 --- diff --git a/src/emitter.c b/src/emitter.c index c4b56a2..1289437 100644 --- a/src/emitter.c +++ b/src/emitter.c @@ -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; }