From 60bcfdf9265ab4f4a8ee9fddca4b7f6837510f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Fri, 18 Dec 2020 22:56:27 -0800 Subject: [PATCH] require terminator after node-children too --- SPEC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index e878929..5087a35 100644 --- a/SPEC.md +++ b/SPEC.md @@ -294,7 +294,7 @@ Note that for the purpose of new lines, CRLF is considered _a single newline_. ``` nodes := linespace* (node nodes?)? linespace* -node := ('/-' ws*)? identifier (node-space node-props-and-args)* node-space* (node-terminator | node-children) +node := ('/-' ws*)? identifier (node-space node-props-and-args)* (node-space* node-children ws*)? node-terminator node-props-and-args := ('/-' ws*)? (prop | value) node-children := ('/-' ws*)? '{' nodes '}' node-space := ws* escline ws* | ws+