Debian Codegraph @

tests/snippets/c/test_label.txt

raw
1 ---input---
2 int main()
3 {
4 foo:
5 goto foo;
6 }
7
8 ---tokens---
9 'int' Keyword.Type
10 ' ' Text.Whitespace
11 'main' Name.Function
12 '(' Punctuation
13 ')' Punctuation
14 '\n' Text.Whitespace
15
16 '{' Punctuation
17 '\n' Text.Whitespace
18
19 'foo' Name.Label
20 ':' Punctuation
21 '\n' Text.Whitespace
22
23 ' ' Text.Whitespace
24 'goto' Keyword
25 ' ' Text.Whitespace
26 'foo' Name
27 ';' Punctuation
28 '\n' Text.Whitespace
29
30 '}' Punctuation
31 '\n' Text.Whitespace