Skip to content

Commit 17c2701

Browse files
authored
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. ```
1 parent e18cf2c commit 17c2701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ To support Gdscript, we must install [gdscript-grammar](https://github.com/Prest
231231
git clone https://github.com/PrestonKnopp/tree-sitter-gdscript.git
232232
cd tree-sitter-gdscript/src
233233
cc -std=c99 -c parser.c
234-
cc -c scanner.cc
234+
cc -c scanner.c -I./
235235
cc -shared parser.o scanner.o -o libtree-sitter-gdscript.so
236236
```
237237

0 commit comments

Comments
 (0)