From dfc1441ec92054b7708e5139e7afdd2b9fa5bc7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Fri, 18 Dec 2020 20:06:11 -0800 Subject: [PATCH] more node and nodes fixes --- SPEC.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPEC.md b/SPEC.md index 9e59941..8d876f8 100644 --- a/SPEC.md +++ b/SPEC.md @@ -292,9 +292,9 @@ Note that for the purpose of new lines, CRLF is considered _a single newline_. ## Full Grammar ``` -nodes := linespace* (node nodes?)? linespace* +nodes := linespace* node* linespace* -node := ('/-' ws*)? identifier (node-space node-props-and-args)* (node-terminator | (node-space node-children)) +node := ('/-' ws*)? identifier (node-space node-props-and-args)* node-space* (node-terminator | node-children) node-props-and-args := ('/-' ws*)? (prop | value) node-children := ('/-' ws*)? '{' nodes '}' node-space := ws* escline ws* | ws+