diff --git a/SPEC.md b/SPEC.md index cfb65cf..c3ed4f7 100644 --- a/SPEC.md +++ b/SPEC.md @@ -376,6 +376,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 := '/*' (commented-block | multi-line-comment) '*/' -commented-block := ('*' [^\/] | [^*])* +multi-line-comment := '/*' commented-block +commented-block := '*/' | (multi-line-comment | '*' | '/' | [^*/]+) commented-block ```