File: test_integer_literal_negative_matches.txt

package info (click to toggle)
pygments 2.18.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,184 kB
  • sloc: python: 103,327; javascript: 238; makefile: 142; sh: 84; lisp: 74
file content (20 lines) | stat: -rw-r--r-- 458 bytes parent folder | download
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