mirror of https://github.com/kdl-org/kdl.git
Fix multi-line-comment grammar
Fix https://github.com/kdl-org/kdl/issues/128
This commit is contained in:
parent
7c54aae64f
commit
604f3df64f
4
SPEC.md
4
SPEC.md
|
|
@ -376,6 +376,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 := '/*' (commented-block | multi-line-comment) '*/'
|
multi-line-comment := '/*' commented-block
|
||||||
commented-block := ('*' [^\/] | [^*])*
|
commented-block := '*/' | (multi-line-comment | '*' | '/' | [^*/]+) commented-block
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue