summaryrefslogtreecommitdiff
path: root/test/data/lex/tests2.dat
blob: 55483276e009feb21e03ccf744f4048c1a2b0be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#data
p[example="public class foo\
{\
    private int x;\
\
    foo(int x) {\
        this.x = x;\
    }\
\
}"] { color: red }
#expected
IDENT:p
CHAR:[
IDENT:example
CHAR:=
STRING:public class foo\n{\n    private int x;\n\n    foo(int x) {\n        this.x = x;\n    }\n\n}
CHAR:]
S
CHAR:{
S
IDENT:color
CHAR::
S
IDENT:red
S
CHAR:}
S
EOF
#reset