blob: 57bc35f30bf71d12713659a43d0c653d591ad979 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---input---
// Test text that should **not** be tokenized as integer literals.
1N
1
1.0
---tokens---
'' Text
'// Test text that should **not** be tokenized as integer literals.' Comment.Single
'\n' Text.Whitespace
'1' Literal.Number.Float
'N' Name.Other
'\n' Text.Whitespace
'1' Literal.Number.Float
'\n' Text.Whitespace
'1.0' Literal.Number.Float
'\n' Text.Whitespace
|