mirror of https://github.com/kdl-org/kdl.git
Remove the optional space between the type and node name
This commit is contained in:
parent
fa1e8d9d6c
commit
815e945b31
2
SPEC.md
2
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+
|
||||
|
|
|
|||
Loading…
Reference in New Issue