Commit 8bd61bf
Fix TTL SET clause lookahead to use peekPeek instead of consuming tokens (#119)
When detecting SET continuation vs new TTL after comma, use peek/peekPeek
to check the pattern (IDENT EQ) without consuming tokens. This avoids
losing lexer state when restoring position.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 8790477 commit 8bd61bf
2 files changed
Lines changed: 9 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8444 | 8444 | | |
8445 | 8445 | | |
8446 | 8446 | | |
8447 | | - | |
8448 | | - | |
8449 | | - | |
8450 | | - | |
8451 | | - | |
| 8447 | + | |
| 8448 | + | |
| 8449 | + | |
8452 | 8450 | | |
8453 | | - | |
8454 | | - | |
| 8451 | + | |
| 8452 | + | |
8455 | 8453 | | |
8456 | 8454 | | |
8457 | 8455 | | |
8458 | 8456 | | |
8459 | 8457 | | |
8460 | | - | |
| 8458 | + | |
| 8459 | + | |
8461 | 8460 | | |
8462 | 8461 | | |
8463 | | - | |
8464 | | - | |
8465 | | - | |
| 8462 | + | |
8466 | 8463 | | |
8467 | 8464 | | |
8468 | 8465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
0 commit comments