mirror of https://github.com/kdl-org/kdl.git
require terminator after node-children too
This commit is contained in:
parent
b30b0cf93a
commit
60bcfdf926
2
SPEC.md
2
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+
|
||||
|
|
|
|||
Loading…
Reference in New Issue