This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/wat/test_nested_comment.txt
Jendrik 06f2eba843
Fix #1416: add WebAssembly lexer (#1564)
* add WebAssembly lexer

* avoid test failure by using the default function instead of an empty regex

* address small issues

* fix WebAssembly string escapes

* change WebAssembly multiline comment parsing

* update copyright year

* set versionadded to 2.9

* change WebAssembly tests to use the new test system

* change WebAssembly unit test to use snippets
2021-04-04 17:50:00 +02:00

14 lines
262 B
Text

---input---
(;
nested(;;)comment
;)
---tokens---
'(;' Comment.Multiline
'\nnested' Comment.Multiline
'(;' Comment.Multiline
';)' Comment.Multiline
'comment\n' Comment.Multiline
';)' Comment.Multiline
'\n' Text