--- &test-HM87:01
Title: Scalars in flow start with syntax char
Tags: [ flow, scalar ]
+STR
+DOC
+SEQ []
=VAL :?x
-SEQ
-DOC
-STR
diff
Got Events:
+STR
+DOC
+SEQ []
+MAP {}
=VAL :x
=VAL :
-MAP
-SEQ
-DOC
-STR
diff
Minimal Events:
+STR
+DOC
+SEQ
=VAL :?x
-SEQ
-DOC
-STR
Got Events:
+STR
+DOC
+SEQ
+MAP
=VAL :x
=VAL :
-MAP
-SEQ
-DOC
-STR
diff
Got Events:
+STR
+DOC
+SEQ []
+MAP {}
=VAL :x
=VAL :
-MAP
-SEQ
-DOC
-STR
diff
Got Events:
+STR
+DOC
+SEQ []
+MAP {}
=VAL :x
=VAL :
-MAP
-SEQ
-DOC
-STR
json_diff
[
{
"x": null
}
]
json_diff
[
{
"x": null
}
]
json_diff
[
{
"x": {}
}
]
json_diff
[
{
"x": null
}
]
json_diff
[
{
"x": null
}
]
json_diff
[
{
"x": null
}
]
json_diff
[
{
"x": null
}
]
json_diff
[
{
"x": null
}
]
error
+STR
Exception:
yaml-cpp: error at line 1, column 2: unknown token
error
+STR
+DOC
+SEQ []
-SEQ
Parsing error near byte offset Pos {posByteOffset = 1, posCharOffset = 1, posLine = 1, posColumn = 1} (Unexpected '?')
error
hsyaml-parser: user error (Unexpected '?')
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 1
Document: 2
at /perl5/lib/perl5/YAML/Loader.pm line 88.
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 1
Document: 2
at /perl5/lib/perl5/YAML/Loader.pm line 88.
na
Line Col Char Byte Token|Content
1 0 0 0 +DOC |
1 0 0 0 +NODE|
1 0 0 0 +SEQ |
1 0 0 0 =SYNX|[
1 1 1 1 -SEQ |
1 1 1 1 -NODE|
1 1 1 1 =ERR |Unexpected.'?'
1 1 1 1 =REST|?x]
1 4 4 4 =REST|\x0a
2 0 5 5 -DOC |
ni
YAML::Tiny failed to classify line '[?x]' at /yaml/bin/perl-tiny-json line 12.
ni
YAML::Tiny failed to classify line '[?x]' at /yaml/bin/perl-tiny-perl line 15.