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:
Kat Marchán 2023-12-12 21:57:57 -08:00
parent 31fd7bd00a
commit b42b6c80f0
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 3 additions and 2 deletions

View File

@ -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.