mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
28 lines
602 B
Plaintext
28 lines
602 B
Plaintext
---input---
|
|
// Test text that should **not** be tokenized as binary literals.
|
|
0b0N
|
|
0b
|
|
0bb
|
|
0b2
|
|
|
|
---tokens---
|
|
'' Text
|
|
'// Test text that should **not** be tokenized as binary literals.' Comment.Single
|
|
'\n' Text.Whitespace
|
|
|
|
'0b0' Literal.Number.Bin
|
|
'N' Name.Other
|
|
'\n' Text.Whitespace
|
|
|
|
'0' Literal.Number.Float
|
|
'b' Name.Other
|
|
'\n' Text.Whitespace
|
|
|
|
'0' Literal.Number.Float
|
|
'bb' Name.Other
|
|
'\n' Text.Whitespace
|
|
|
|
'0' Literal.Number.Float
|
|
'b2' Name.Other
|
|
'\n' Text.Whitespace
|