mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 15:32:24 +00:00
33 lines
610 B
Plaintext
33 lines
610 B
Plaintext
---input---
|
|
int main()
|
|
{
|
|
foo :
|
|
goto foo;
|
|
}
|
|
|
|
---tokens---
|
|
'int' Keyword.Type
|
|
' ' Text.Whitespace
|
|
'main' Name.Function
|
|
'(' Punctuation
|
|
')' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
'{' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
'foo' Name.Label
|
|
' ' Text.Whitespace
|
|
':' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
' ' Text.Whitespace
|
|
'goto' Keyword
|
|
' ' Text.Whitespace
|
|
'foo' Name
|
|
';' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
'}' Punctuation
|
|
'\n' Text.Whitespace
|