From 7ed0b5fd2c1e128b12badbbe16b60c400666551b Mon Sep 17 00:00:00 2001 From: Arturo Salvio <775410+asalvi0@users.noreply.github.com> Date: Sat, 24 Aug 2024 20:20:43 -0600 Subject: [PATCH] reverted `Ocaml` file mappings, this change is in another PR --- _automation/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_automation/main.go b/_automation/main.go index 88fa2f2..3fcf71f 100644 --- a/_automation/main.go +++ b/_automation/main.go @@ -362,15 +362,15 @@ func (s *UpdateService) downloadPhp(ctx context.Context, g *Grammar) { // ocaml is special since its folder structure is different from the other ones func (s *UpdateService) downloadOcaml(ctx context.Context, g *Grammar) { fileMapping := map[string]string{ - "parser.c": "grammars/ocaml/src/parser.c", - "scanner.c": "grammars/ocaml/src/scanner.c", - "scanner.h": "include/scanner.h", + "parser.c": "ocaml/src/parser.c", + "scanner.cc": "ocaml/src/scanner.cc", + "scanner.h": "common/scanner.h", } url := g.ContentURL() s.downloadFile( ctx, - fmt.Sprintf("%s/%s/include/tree_sitter/parser.h", url, g.Revision), + fmt.Sprintf("%s/%s/ocaml/src/tree_sitter/parser.h", url, g.Revision), fmt.Sprintf("%s/parser.h", g.Language), nil, )