From 815e945b31d02c5c55f1e7299109fce1e50297d5 Mon Sep 17 00:00:00 2001 From: Tab Atkins Jr Date: Wed, 8 Sep 2021 11:07:28 -0700 Subject: [PATCH] Remove the optional space between the type and node name --- SPEC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index 6a13470..5512009 100644 --- a/SPEC.md +++ b/SPEC.md @@ -408,7 +408,7 @@ Note that for the purpose of new lines, CRLF is considered _a single newline_. ``` nodes := linespace* (node nodes?)? linespace* -node := ('/-' node-space*)? (type ws*)? identifier (node-space node-space* node-props-and-args)* (node-space* node-children ws*)? node-space* node-terminator +node := ('/-' node-space*)? type? identifier (node-space node-space* node-props-and-args)* (node-space* node-children ws*)? node-space* node-terminator node-props-and-args := ('/-' node-space*)? (prop | value) node-children := ('/-' node-space*)? '{' nodes '}' node-space := ws* escline ws* | ws+