On Tue, Jan 30, 2024 at 06:10:43PM +0100, Jonas Smedegaard wrote:
> Control: retitle -1 tree-sitter: enters infinite loop in certain scenarios
> Control: notfound -1 0.20.9
> 
> Quoting Jonas Smedegaard (2023-09-16 09:07:24)
> > - From accepted MR https://github.com/tree-sitter/tree-sitter/pull/2429:
> > > `earlier_node` must be reset when backtracking up the tree or else
> > > `ts_node__prev_child` may loop infinitely on a subtree which contains
> > > zero-width tokens.
> > 
> > Please consider cherry-picking that MR until a new upstream release
> > comes out.
> 
> Upstream has now issued a release with the bugfix included.

And they caused a bit of chaos by no longer installing parser.h as part
of the C library.  This is going to have effects on the crates and
currently packaged grammars.

I'll try to get coordinated uploads of those done, as I have time and
figure out how to best fix the fallout.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to