mirror of https://github.com/kdl-org/kdl.git
fix single-line-comment
This commit is contained in:
parent
6617e2ad47
commit
1b9d878885
2
SPEC.md
2
SPEC.md
|
|
@ -338,6 +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 := '//' ('\r' [^\n] | [^\r\n])* newline
|
single-line-comment := '//' ^newline+ newline
|
||||||
multi-line-comment := '/*' ('*' [^\/] | [^*])* '*/'
|
multi-line-comment := '/*' ('*' [^\/] | [^*])* '*/'
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue