From b42b6c80f0c9cb8c2c9dd380b3543b22f505ee80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Tue, 12 Dec 2023 21:57:57 -0800 Subject: [PATCH] Clarify that multiline comments are allowed after line continuations, per grammar Fixes: https://github.com/kdl-org/kdl/issues/322 --- SPEC.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SPEC.md b/SPEC.md index 3457aaa..facb0b1 100644 --- a/SPEC.md +++ b/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. 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 -[Newline](#newline) (including the Newline that is part of single-line comments). +items (including multiline comments) and an optional single-line comment. It +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.