summaryrefslogtreecommitdiff
path: root/src/emitter.c
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-11-14 14:14:42 +0900
committerIan Cordasco <graffatcolmingov@gmail.com>2016-11-23 16:15:19 -0600
commit986dbde7b3ffb0826521b590bf46ec6ff8ff1eba (patch)
tree10989d47fe95cb750363536d119a9c8933d99f6a /src/emitter.c
parentbdf4d192d07517f79b07c65d678ad83bd9502fa1 (diff)
downloadlibyaml-git-986dbde7b3ffb0826521b590bf46ec6ff8ff1eba.tar.gz
Removed trailing-whitespaces
Diffstat (limited to 'src/emitter.c')
-rw-r--r--src/emitter.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/emitter.c b/src/emitter.c
index 1289437..901f07f 100644
--- a/src/emitter.c
+++ b/src/emitter.c
@@ -517,7 +517,7 @@ yaml_emitter_emit_stream_start(yaml_emitter_t *emitter,
if (emitter->best_width < 0) {
emitter->best_width = INT_MAX;
}
-
+
if (!emitter->line_break) {
emitter->line_break = YAML_LN_BREAK;
}
@@ -607,7 +607,7 @@ yaml_emitter_emit_document_start(yaml_emitter_t *emitter,
if (!yaml_emitter_write_indent(emitter))
return 0;
}
-
+
if (event->data.document_start.tag_directives.start
!= event->data.document_start.tag_directives.end) {
implicit = 0;
@@ -721,7 +721,7 @@ yaml_emitter_emit_document_end(yaml_emitter_t *emitter,
}
/*
- *
+ *
* Expect a flow item node.
*/
@@ -1402,7 +1402,7 @@ yaml_emitter_analyze_anchor(yaml_emitter_t *emitter,
{
size_t anchor_length;
yaml_string_t string;
-
+
anchor_length = strlen((char *)anchor);
STRING_ASSIGN(string, anchor, anchor_length);
@@ -2322,4 +2322,3 @@ yaml_emitter_write_folded_scalar(yaml_emitter_t *emitter,
return 1;
}
-