spec out nested multiline comments

This commit is contained in:
Kat Marchán 2020-12-18 17:43:14 -08:00
parent 9739e7d88c
commit 144f8d775f
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 2 additions and 1 deletions

View File

@ -338,5 +338,6 @@ bom := '\u{FFEF}'
unicode-space := See Table (All White_Space unicode characters which are not `newline`)
single-line-comment := '//' ^newline+ newline
multi-line-comment := '/*' ('*' [^\/] | [^*])* '*/'
multi-line-comment := '/*' (commented-block | multi-line-comment) '*/'
commented-block := ('*' [^\/] | [^*])*
```