From 144f8d775f90a36a3e8b491776a897da86b1b3d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Fri, 18 Dec 2020 17:43:14 -0800 Subject: [PATCH] spec out nested multiline comments --- SPEC.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index 265f306..eb52bc2 100644 --- a/SPEC.md +++ b/SPEC.md @@ -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 := ('*' [^\/] | [^*])* ```