Skip to content

Instantly share code, notes, and snippets.

@perlpunk
Last active June 25, 2018 20:12
Show Gist options
  • Save perlpunk/1067b8cb01f0c6eb17fb77637b6dba65 to your computer and use it in GitHub Desktop.
Save perlpunk/1067b8cb01f0c6eb17fb77637b6dba65 to your computer and use it in GitHub Desktop.
yaml-flow-colon-4
+STR
+DOC
+SEQ
+SEQ
=VAL :foo:
-SEQ
-SEQ
-DOC
-STR
+STR
+DOC
+SEQ
+SEQ []
+MAP {}
=VAL :foo
=VAL :
-MAP
-SEQ
-SEQ
-DOC
-STR
Parse error: found unexpected ':'
+STR
+DOC
+SEQ
Parse error: found unexpected ':'
+STR
+DOC
+SEQ
+STR
+DOC
+SEQ
+SEQ
=VAL :foo
Traceback (most recent call last)
nimyaml_event.nim(8) nimyaml_event
stream.nim(220) finished
Error: unhandled exception: Unexpected token (expected ',') [YamlStreamError]
+STR
+DOC
+SEQ
+SEQ
+MAP
=VAL :foo
=VAL :
-MAP
-SEQ
-SEQ
-DOC
-STR
+STR
+DOC
+SEQ
+SEQ
=VAL :foo:
-SEQ
-SEQ
-DOC
-STR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment