Closed eugenesvk closed 8 months ago
I think this is fine. The spec text is meant to be more of a high-level idea of how things work. The grammar is authoritative. I'm happy taking a patch to reword things if it helps.
This is fixed in the kdl-v2 branch now.
Spec tells us that only single-line comments are optional after whitespace characters
The grammar defines
escline := '\\' ws* (single-line-comment | newline)
but thenws
also includes multi-line commentsws := bom | unicode-space | multi-line-comment
Which one is supposed to be correct in this case? Or is this properly resolved via some other rule?