summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIngy döt Net <ingy@ingy.net>2016-09-16 08:22:56 -0700
committerIngy döt Net <ingy@ingy.net>2016-09-21 11:17:39 -0700
commit56400d976a1999156b1abfd674c3122843980260 (patch)
tree5f37712fc55f25fc2e7889c64d8a7e3198ee9b9a /src
parente5607fb569382c31d2406b3701d61a19c4635df7 (diff)
downloadlibyaml-git-56400d976a1999156b1abfd674c3122843980260.tar.gz
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
Diffstat (limited to 'src')
-rw-r--r--src/emitter.c4
1 files changed, 0 insertions, 4 deletions
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;
}