Bruno BELANYI
1af33aeea1
This means regenerating all the tree-sitter files, and adding newly generated outputs (mostly new bindings). The `--apply-all-captures` flag has been removed, it is now the default (and only) matching behaviour.
14 lines
312 B
Go
14 lines
312 B
Go
package tree_sitter_bp
|
|
|
|
// #cgo CFLAGS: -std=c11 -fPIC
|
|
// #include "../../src/parser.c"
|
|
// // NOTE: if your language has an external scanner, add it here.
|
|
import "C"
|
|
|
|
import "unsafe"
|
|
|
|
// Get the tree-sitter Language for this grammar.
|
|
func Language() unsafe.Pointer {
|
|
return unsafe.Pointer(C.tree_sitter_bp())
|
|
}
|