Debian Codegraph @

tests/languages/autohotkey/comment_feature.test

raw
1 ;foo
2 ; bar
3
4 nota;comment
5
6 ; comments break strings
7 " ;"
8
9 /*
10 0
11 */
12 /*1*/
13 */
14 /*
15 1 ;
16 2 */
17 foo
18
19 ----------------------------------------------------
20
21 [
22 ["comment", ";foo"],
23 ["comment", "; bar"],
24
25 "\r\n\r\nnota;comment\r\n\r\n",
26
27 ["comment", "; comments break strings"],
28 "\r\n\" ",
29 ["comment", ";\""],
30
31 ["comment", "/*\r\n0\r\n*/"],
32 ["comment", "/*1*/\r\n\t */"],
33 ["comment", "/*\r\n1 ;\r\n2 */\r\nfoo"]
34 ]
35
36 ----------------------------------------------------
37
38 Checks for comments.