Skip to content
Snippets Groups Projects
Commit 60f08b9908df authored by Tina Müller's avatar Tina Müller
Browse files

The closing single quote needs to be indented...

if it's on its own line.

```
% cd libyaml
% echo "+STR
+DOC
+SEQ
=VAL '\\\n
-SEQ
-DOC
-STR" | ./tests/run-emitter-test-suite
- '

'
% # fix
% make
...

% echo "+STR
+DOC
+SEQ
=VAL '\\\n
-SEQ
-DOC
-STR" | ./tests/run-emitter-test-suite
- '

  '
```
parent 98b4c7bf787a
No related branches found
No related tags found
No related merge requests found
...@@ -2001,6 +2001,9 @@ ...@@ -2001,6 +2001,9 @@
} }
} }
if (breaks)
if (!yaml_emitter_write_indent(emitter)) return 0;
if (!yaml_emitter_write_indicator(emitter, "'", 0, 0, 0)) if (!yaml_emitter_write_indicator(emitter, "'", 0, 0, 0))
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment