| 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 |
' ' Text.Whitespace |
| 21 |
':' Punctuation |
| 22 |
'\n' Text.Whitespace |
| 23 |
|
| 24 |
' ' Text.Whitespace |
| 25 |
'goto' Keyword |
| 26 |
' ' Text.Whitespace |
| 27 |
'foo' Name |
| 28 |
';' Punctuation |
| 29 |
'\n' Text.Whitespace |
| 30 |
|
| 31 |
'}' Punctuation |
| 32 |
'\n' Text.Whitespace |