]> andersk Git - libyaml.git/blobdiff - src/scanner.c
Add `const` qualifier for `yaml_parser_set_input_string` parameter `input`.
[libyaml.git] / src / scanner.c
index 1414401d47013bcd711ceac0a3735f4cb062f75a..b190c7eea565e103c6af2903adf7060e032fba74 100644 (file)
@@ -1324,6 +1324,13 @@ yaml_parser_fetch_stream_end(yaml_parser_t *parser)
 {
     yaml_token_t token;
 
+    /* Force new line. */
+
+    if (parser->mark.column != 0) {
+        parser->mark.column = 0;
+        parser->mark.line ++;
+    }
+
     /* Reset the indentation level. */
 
     if (!yaml_parser_unroll_indent(parser, -1))
This page took 0.025922 seconds and 4 git commands to generate.