Commit 06f016f
committed
Add hex and binary string literal support in lexer
- Support x'...' and X'...' hex string literals
- Support b'...' and B'...' binary string literals
- These are converted to regular string tokens
Test count: 5549 -> 5550 (+1 test)1 parent 151dbbd commit 06f016f
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
435 | 447 | | |
436 | 448 | | |
437 | 449 | | |
| |||
0 commit comments