mirror of https://github.com/kdl-org/kdl.git
spec out nested multiline comments
This commit is contained in:
parent
9739e7d88c
commit
144f8d775f
3
SPEC.md
3
SPEC.md
|
|
@ -338,5 +338,6 @@ bom := '\u{FFEF}'
|
||||||
unicode-space := See Table (All White_Space unicode characters which are not `newline`)
|
unicode-space := See Table (All White_Space unicode characters which are not `newline`)
|
||||||
|
|
||||||
single-line-comment := '//' ^newline+ newline
|
single-line-comment := '//' ^newline+ newline
|
||||||
multi-line-comment := '/*' ('*' [^\/] | [^*])* '*/'
|
multi-line-comment := '/*' (commented-block | multi-line-comment) '*/'
|
||||||
|
commented-block := ('*' [^\/] | [^*])*
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue