Closed savq closed 4 months ago
Since tree-sitter v0.22.0, the macros in tree_sitter/alloc.h are the preferred way to allocate memory.
tree_sitter/alloc.h
Also tree-sitter build --wasm says that exit isn't available, so the scanner also needs to be updated to handle panics some other way.
tree-sitter build --wasm
exit
Since tree-sitter v0.22.0, the macros in
tree_sitter/alloc.h
are the preferred way to allocate memory.Also
tree-sitter build --wasm
says thatexit
isn't available, so the scanner also needs to be updated to handle panics some other way.