mirror of https://github.com/kdl-org/kdl.git
Clarify that multiline comments are allowed after line continuations, per grammar
Fixes: https://github.com/kdl-org/kdl/issues/322
This commit is contained in:
parent
31fd7bd00a
commit
b42b6c80f0
5
SPEC.md
5
SPEC.md
|
|
@ -142,8 +142,9 @@ The following characters cannot be used anywhere in a bare
|
||||||
Line continuations allow [Nodes](#node) to be spread across multiple lines.
|
Line continuations allow [Nodes](#node) to be spread across multiple lines.
|
||||||
|
|
||||||
A line continuation is a `\` character followed by zero or more whitespace
|
A line continuation is a `\` character followed by zero or more whitespace
|
||||||
characters and an optional single-line comment. It must be terminated by a
|
items (including multiline comments) and an optional single-line comment. It
|
||||||
[Newline](#newline) (including the Newline that is part of single-line comments).
|
must be terminated by a [Newline](#newline) (including the Newline that is
|
||||||
|
part of single-line comments).
|
||||||
|
|
||||||
Following a line continuation, processing of a Node can continue as usual.
|
Following a line continuation, processing of a Node can continue as usual.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue