diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-08 19:37:38 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-08 19:37:38 +0200 |
| commit | f85e5aac64784deac75950a1307f2ca802ad6765 (patch) | |
| tree | 95d1082a4efd3451cfe669f3a687d0aa8b0a4d0d /tests/typ/code | |
| parent | 5a500fb8a7c0ba4b8a59e2622c8cbafdc4ce1fe9 (diff) | |
URL special case for line comments
Diffstat (limited to 'tests/typ/code')
| -rw-r--r-- | tests/typ/code/comment.typ | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -15,6 +15,11 @@ C/* , "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 /* */ */ |
