Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Realloc open blocks when deserializing
Previously deserializing assumed that open_blocks had enough capacity to deserialize all blocks. It appears that this is not always the case and that open blocks can overflow. This commit will realloc s->open_blocks if the current capacity is not big enough. Fixes tree-sitter-grammars#114 Fixes neovim/neovim#25164
- Loading branch information