We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
downloadOcaml
1 parent a46cd22 commit 6362d4cCopy full SHA for 6362d4c
_automation/main.go
@@ -374,16 +374,10 @@ func (s *UpdateService) downloadOcaml(ctx context.Context, g *Grammar) {
374
"scanner.c": "grammars/ocaml/src/scanner.c",
375
"scanner.h": "include/scanner.h",
376
"alloc.h": "include/tree_sitter/alloc.h",
377
+ "parser.h": "include/tree_sitter/parser.h",
378
}
379
380
url := g.ContentURL()
- s.downloadFile(
381
- ctx,
382
- fmt.Sprintf("%s/%s/include/tree_sitter/parser.h", url, g.Revision),
383
- fmt.Sprintf("%s/parser.h", g.Language),
384
- nil,
385
- )
386
-
387
for _, f := range g.Files {
388
fp, ok := fileMapping[f]
389
if !ok {
0 commit comments