mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2025-12-31 21:48:34 +03:00
Update README.md
Fix extra c in `scanner.c`
It also seems I need to add `-I./` to avoid:
```
scanner.c:5:10: fatal error: tree_sitter/parser.h: No such file or directory
5 | #include <tree_sitter/parser.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```
This commit is contained in:
@@ -231,7 +231,7 @@ To support Gdscript, we must install [gdscript-grammar](https://github.com/Prest
|
||||
git clone https://github.com/PrestonKnopp/tree-sitter-gdscript.git
|
||||
cd tree-sitter-gdscript/src
|
||||
cc -std=c99 -c parser.c
|
||||
cc -c scanner.cc
|
||||
cc -c scanner.c -I./
|
||||
cc -shared parser.o scanner.o -o libtree-sitter-gdscript.so
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user