PureYAML/Sources/Parsing
Mihaela M 5ea6fa668b fix(parsing): end a tagged zero-indent sequence at a sibling key
A block sequence value carrying an inline property (`sequence: !!seq` then
`- entry` at the key's column) is a zero-indent sequence: its entries sit at the
mapping key's own indentation, so a following sibling key ends it.

The untagged form was already parsed as a zero-indent sequence that stops at a
sibling mapping key, but the property-bearing form fell through to the generic
node path, which parsed the sequence without that terminator and read the
sibling key as a mixed sequence-and-mapping entry. The zero-indent sequence is
now handled before the generic path, carrying any property to the sequence.

Fixes yaml-test-suite 57H4; raises parse-level conformance to 313/333 (94.0%)
and value-level to 206/206 (100.0%), with the should-error rate unchanged.
2026-06-29 04:48:47 +02:00
..
BlockScalarChomping.swift
BlockScalarStyle.swift
CollectionStyle.swift
Event.swift
EventComposer.Merge.swift
EventComposer.swift
EventStreamComposedNode.swift
EventStreamComposer.swift fix(parsing): resolve an alias to an anchor on a null value 2026-06-29 02:56:17 +02:00
EventStreamComposerMode.swift
EventStreamContainer.swift
EventStreamContainerKind.swift
Mark.swift
MergeResolution.swift
NodeKind.swift
NodeProperties.swift
NodeResult.swift
ParseError.swift fix(parsing): reject a document marker inside a multi-line scalar 2026-06-27 23:20:52 +02:00
Parser.Events.swift
Parser.ScalarComposition.swift fix(parsing): keep a non-core-tagged scalar as a string 2026-06-28 22:25:48 +02:00
Parser.swift
Reader.swift
Scalar.swift fix(parsing): enforce the full YAML 1.2 double-quoted escape table 2026-06-27 16:19:25 +02:00
ScalarStyle.swift
Scanner.Directives.swift fix(parsing): accept a higher-minor %YAML version 2026-06-29 02:34:55 +02:00
Scanner.FlowContext.swift fix(parsing): parse an explicit key inside a flow collection 2026-06-29 01:17:26 +02:00
Scanner.FlowKey.swift fix(parsing): parse a flow collection before a colon as a mapping key 2026-06-28 18:34:11 +02:00
Scanner.Helpers.swift fix(parsing): end an inline item value at a sibling block entry 2026-06-29 02:09:57 +02:00
Scanner.Indentation.swift fix(parsing): keep a tab on a leading blank of a block scalar 2026-06-29 01:52:58 +02:00
Scanner.Scalars.swift fix(parsing): accept an alias node as an implicit mapping key 2026-06-29 03:35:56 +02:00
Scanner.swift fix(parsing): accept an alias node as an implicit mapping key 2026-06-29 03:35:56 +02:00
ScannerFlowContextKind.swift
TagNormalizer.swift
Text.swift
Token.swift
TokenCursor.swift fix(parsing): reject a block entry after a flow collection on a line 2026-06-28 01:34:55 +02:00
TokenEventParser.Block.swift fix(parsing): bind an inline first-key property to the key 2026-06-29 03:24:30 +02:00
TokenEventParser.Flow.swift fix(parsing): allow a flow mapping entry with no value 2026-06-29 01:42:02 +02:00
TokenEventParser.Helpers.swift fix(parsing): end a tagged zero-indent sequence at a sibling key 2026-06-29 04:48:47 +02:00
TokenEventParser.swift fix(parsing): parse a bare document after a document-end marker 2026-06-28 04:23:06 +02:00
TokenKind.swift