From 1b9d87888541cfa3ba489da3751499b4f5df94a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Fri, 18 Dec 2020 12:55:00 -0800 Subject: [PATCH] fix single-line-comment --- SPEC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index 950cacc..9293251 100644 --- a/SPEC.md +++ b/SPEC.md @@ -338,6 +338,6 @@ bom := '\u{FFEF}' 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 := '/*' ('*' [^\/] | [^*])* '*/' ```