more node and nodes fixes

This commit is contained in:
Kat Marchán 2020-12-18 20:06:11 -08:00
parent 42672c1701
commit dfc1441ec9
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 2 additions and 2 deletions

View File

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