From 7fa947e92ecc7bdaaa2fe57fe0792cdecd0e1c2b Mon Sep 17 00:00:00 2001 From: Kirill Andreev Date: Fri, 21 Aug 2020 18:23:39 +0400 Subject: [PATCH] Add all parser.c as symlinks --- tools/lsp/squirrel/Makefile | 8 ++++---- tools/lsp/squirrel/vendor/camligo/parser.c | 1 + tools/lsp/squirrel/vendor/pascaligo/parser.c | 1 + tools/lsp/squirrel/vendor/reasonligo/parser.c | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) create mode 120000 tools/lsp/squirrel/vendor/camligo/parser.c create mode 120000 tools/lsp/squirrel/vendor/pascaligo/parser.c create mode 120000 tools/lsp/squirrel/vendor/reasonligo/parser.c diff --git a/tools/lsp/squirrel/Makefile b/tools/lsp/squirrel/Makefile index 2c9703b6c..aca9eb7f0 100644 --- a/tools/lsp/squirrel/Makefile +++ b/tools/lsp/squirrel/Makefile @@ -1,6 +1,6 @@ SITTER ?= tree-sitter -DIRS := grammar/pascaligo grammar/reasonligo grammar/camligo +DIRS := pascaligo reasonligo camligo PACKAGE := squirrel @@ -16,9 +16,9 @@ generate: $(DIRS) $(DIRS): FORCE # $(SITTER) generate # Generation is manual for now - mkdir -p $(PACKAGE)/vendor/$@ - cp $@/src/parser.c vendor/$@/parser.c - cp -r $@/src/tree_sitter vendor/$@/tree_sitter + # mkdir -p $(PACKAGE)/vendor/$@ + # cp grammar/$@/src/parser.c vendor/$@/parser.c + # cp -r grammar/$@/src/tree_sitter vendor/$@/tree_sitter clean: $(RM) vendor/* diff --git a/tools/lsp/squirrel/vendor/camligo/parser.c b/tools/lsp/squirrel/vendor/camligo/parser.c new file mode 120000 index 000000000..b47abcfb9 --- /dev/null +++ b/tools/lsp/squirrel/vendor/camligo/parser.c @@ -0,0 +1 @@ +../../grammar/camligo/src/parser.c \ No newline at end of file diff --git a/tools/lsp/squirrel/vendor/pascaligo/parser.c b/tools/lsp/squirrel/vendor/pascaligo/parser.c new file mode 120000 index 000000000..c6753c713 --- /dev/null +++ b/tools/lsp/squirrel/vendor/pascaligo/parser.c @@ -0,0 +1 @@ +../../grammar/pascaligo/src/parser.c \ No newline at end of file diff --git a/tools/lsp/squirrel/vendor/reasonligo/parser.c b/tools/lsp/squirrel/vendor/reasonligo/parser.c new file mode 120000 index 000000000..d82bb7164 --- /dev/null +++ b/tools/lsp/squirrel/vendor/reasonligo/parser.c @@ -0,0 +1 @@ +../../grammar/reasonligo/src/parser.c \ No newline at end of file