tree-sitter/xtask/src
Max Brunsfeld 066fd77d39
Fix cases where error recovery could infinite loop (#4257)
* Rename corpus test functions to allow easy filtering by language

* Use usize for seed argument

* Avoid retaining useless stack versions when reductions merge

We found this problem when debugging an infinite loop that happened
during error recovery when using the Zig grammar. The large number of
unnecessary paused stack versions were preventing the correct recovery
strategy from being tried.

* Fix leaked lookahead token when reduction results in a merged stack

* Enable running PHP tests in CI

* Fix possible infinite loop during error recovery at EOF

* Account for external scanner state changes when detecting changed ranges in subtrees
2025-03-04 13:50:56 -08:00
..
benchmark.rs feat: move scripts to xtasks 2024-10-08 21:07:41 -04:00
build_wasm.rs refactor(web): rename tree-sitter.js to web-tree-sitter.js 2025-02-11 22:56:50 -05:00
bump.rs chore: a few more minor lints 2025-01-23 00:10:16 -05:00
check_wasm_exports.rs refactor(web): rename tree-sitter.js to web-tree-sitter.js 2025-02-11 22:56:50 -05:00
clippy.rs feat: move scripts to xtasks 2024-10-08 21:07:41 -04:00
fetch.rs fix(rust): adapt to a few new nightly lints 2024-12-28 01:17:04 -05:00
generate.rs build: bump deps 2024-12-16 01:22:58 -05:00
main.rs Fix cases where error recovery could infinite loop (#4257) 2025-03-04 13:50:56 -08:00
test.rs feat: add 'reserved word' construct 2024-12-23 03:06:32 -05:00
upgrade_emscripten.rs build: bump dependencies 2025-01-26 14:15:01 -05:00
upgrade_wasmtime.rs feat: add xtask to bump emscripten-version 2024-12-19 08:00:51 -05:00