Commit 53bff58
committed
docs: record how the windowed re-lex is verified (#45)
The audit (B2) noted the windowed re-lex (resync / findRestart) has no gen-lexer
counterpart and emit-lexer-verify only checks a full lex, implying it is untested.
It is verified transitively: incremental-verify / exhaustive-edits compare an
edited parse — whose tokens come from the windowed re-lex — to a fresh FULL parse,
byte-identical, so a wrong windowed token changes the tree and fails there. Record
that coverage chain at the lexer core so it is not mistaken for a gap.1 parent fd16358 commit 53bff58
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
269 | 276 | | |
270 | 277 | | |
271 | 278 | | |
| |||
0 commit comments