From f85e5aac64784deac75950a1307f2ca802ad6765 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 8 Jul 2021 19:37:38 +0200 Subject: URL special case for line comments --- tests/typ/code/comment.typ | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/typ') diff --git a/tests/typ/code/comment.typ b/tests/typ/code/comment.typ index 25180211..694600d6 100644 --- a/tests/typ/code/comment.typ +++ b/tests/typ/code/comment.typ @@ -14,6 +14,11 @@ C/* #test(type(/*1*/ 1) // , "integer") +--- +// Line comments have a special case for URLs. +https://example.com \ +https:/* block comments don't ... */ + --- // End should not appear without start. // Error: 1:7-1:9 unexpected end of block comment -- cgit v1.2.3