Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eclass/tree-sitter-grammar: fix ABI autodetecton
Some grammars packages (like, for example, tree-sitter-agda) uses different versioning scheme from vast majority of grammars in tree-sitter github organization. Also, third-party grammars doesn't follow tree-sitter versioning. Also, some grammars (like tree-sitter-haskell, for example) only had old release tagged, but having compatible and useful grammars in current HEAD. Also, some grammars like tree-sitter-verilog, even have only v0.0 tag. So, instead of assuming grammar ABI version based on ${PV} (ver_test) we decided to take ABI version drectly from source code. Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
- Loading branch information