3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-18 22:25:44 +01:00

Fold unspellable-whitespace into unsupported-node-shape

This commit is contained in:
2026-10-14 00:02:58 +02:00
committed by Lillem4n
parent 3f6ed8fb3a
commit 06df26727a
8 changed files with 16 additions and 28 deletions
+3 -3
View File
@@ -437,9 +437,9 @@ handles one cause alike whichever node, attribute or direction raised it.
- A code names the cause; where one cause recurs across node types, across one mark's attributes
or across directions, one code covers them all and `path` and `message` say which —
`unsupported-nesting-depth` is the 500-level guard whichever direction hits it.
`unspellable-whitespace` is the newline an inline directive's content slot spells in input; the
emitter carries such a node. A null character in that slot is `unsupported-node-shape`, since
`unspellable-whitespace` does not read true of it (2026-10-04).
A line ending or a null character an inline directive's content slot spells in input is
`unsupported-node-shape`, as both take one fix, the carry; the emitter carries such a node
(2026-10-14).
- A claim code names the spelling claimed, never the node that spelling would have built: a
malformed `!adf:table` is a `malformed-directive`, and an alignment colon a
`malformed-pipe-table` — the flavour's own delimiter row is `-` runs, so the grammar refuses the