This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/objectivec/test_literal_number_nested_expression.txt
Matthäus G. Chajdas a537d5e966 Use the correct whitespace token for the C family.
The CFamilyLexer was matching whitespace as Text instead of Whitespace.
2021-06-20 11:42:04 +02:00

15 lines
347 B
Text

---input---
@(1+(2+3));
---tokens---
'@(' Literal
'1' Literal.Number.Integer
'+' Operator
'(' Punctuation
'2' Literal.Number.Integer
'+' Operator
'3' Literal.Number.Integer
')' Punctuation
')' Literal
';' Punctuation
'\n' Text.Whitespace