summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Simonov <xi@resolvent.net>2008-12-27 19:14:00 +0000
committerKirill Simonov <xi@resolvent.net>2008-12-27 19:14:00 +0000
commit561ca6de7b3ee25f67e440b842b4aa1eb59a33c5 (patch)
tree1cf6af03e8ce858b81194d916b62509421bc4fe5 /include
parent40cc5d1517fdaf39d751add86085706a7e1568aa (diff)
downloadlibyaml-git-561ca6de7b3ee25f67e440b842b4aa1eb59a33c5.tar.gz
Fixed emitting folded scalars with trailing breaks; Forced emitting of a document end indicator when there is a possibility of ambiguous parsing.
Diffstat (limited to 'include')
-rw-r--r--include/yaml.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/yaml.h b/include/yaml.h
index d0fe93c..400cae1 100644
--- a/include/yaml.h
+++ b/include/yaml.h
@@ -1680,6 +1680,8 @@ typedef struct yaml_emitter_s {
int whitespace;
/** If the last character was an indentation character (' ', '-', '?', ':')? */
int indention;
+ /** If an explicit document end is required? */
+ int open_ended;
/** Anchor analysis. */
struct {