Skip to content

Commit aa7d8ee

Browse files
committed
Release files generated by ocaml-tree-sitter 62c5980.
1 parent 810520b commit aa7d8ee

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

fyi/tree-sitter-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tree-sitter 0.20.6 (1cd649295c9b726450ac85c389d766ef275cac4f)
1+
tree-sitter 0.20.6 (7ef16ec546a213e45560c15f779d186d55cb5db5)

fyi/versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Last change in file:
2020
---
2121
File: semgrep-grammars/src/semgrep-bash/grammar.js
2222
Git repo name: ocaml-tree-sitter-semgrep
23-
Latest commit in repo: 35576b0e69d86858b69714091f07a6944855baba
23+
Latest commit in repo: 62c59803ce966ac00210b5ed8aa163a926f7eaad
2424
Last change in file:
2525
commit 26f6ce5a8e3b2d6731f14c5ccb92deafb102a8d1
2626
Author: Martin Jambon <martin@r2c.dev>

lib/Boilerplate.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ let dump_tree root =
13091309

13101310
let map_extra (env : env) (x : CST.extra) =
13111311
match x with
1312-
| Comment (_loc, x) -> ("comment", "comment", map_comment env x)
1312+
| `Comment (_loc, x) -> ("comment", "comment", map_comment env x)
13131313

13141314
let dump_extras (extras : CST.extras) =
13151315
List.iter (fun extra ->

lib/CST.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,6 @@ type while_statement (* inlined *) = (
671671
Token.t (* "while" *) * terminated_statement * do_group
672672
)
673673

674-
type extra = Comment of Loc.t * comment
674+
type extra = [ `Comment of Loc.t * comment ]
675675

676676
type extras = extra list

lib/Parse.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6303,7 +6303,7 @@ let translate_extra src (node : Tree_sitter_output_t.node) : CST.extra option =
63036303
| "comment" ->
63046304
(match translate_tree src node trans_comment with
63056305
| None -> None
6306-
| Some x -> Some (Comment (Run.get_loc node, x)))
6306+
| Some x -> Some (`Comment (Run.get_loc node, x)))
63076307
| _ -> None
63086308

63096309
let translate_root src root_node =

0 commit comments

Comments
 (0)