Spaces:
Runtime error
Runtime error
fix parser path
Browse files- utils/tree_utils.py +1 -1
utils/tree_utils.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import tree_sitter
|
2 |
from tree_sitter import Language, Parser
|
3 |
|
4 |
-
Language.build_library("./build/my-languages.so", ['
|
5 |
GLSL_LANGUAGE = Language('./build/my-languages.so', 'glsl')
|
6 |
parser = Parser()
|
7 |
parser.set_language(GLSL_LANGUAGE)
|
|
|
1 |
import tree_sitter
|
2 |
from tree_sitter import Language, Parser
|
3 |
|
4 |
+
Language.build_library("./build/my-languages.so", ['./tree-sitter-glsl'])
|
5 |
GLSL_LANGUAGE = Language('./build/my-languages.so', 'glsl')
|
6 |
parser = Parser()
|
7 |
parser.set_language(GLSL_LANGUAGE)
|