mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
16 lines
355 B
Plaintext
16 lines
355 B
Plaintext
---input---
|
|
// Test literals that should be tokenized as binary literals.
|
|
0b01
|
|
0B10n
|
|
|
|
---tokens---
|
|
'' Text
|
|
'// Test literals that should be tokenized as binary literals.' Comment.Single
|
|
'\n' Text.Whitespace
|
|
|
|
'0b01' Literal.Number.Bin
|
|
'\n' Text.Whitespace
|
|
|
|
'0B10n' Literal.Number.Bin
|
|
'\n' Text.Whitespace
|