From 17c270190be6b0038be39fabba9450d33f11240f Mon Sep 17 00:00:00 2001 From: nyxkn Date: Tue, 1 Apr 2025 07:16:48 +0100 Subject: [PATCH] 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 | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 815130b..a81fcbe 100644 --- a/README.md +++ b/README.md @@ -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 ```