Skip to content

Commit bfcdd0c

Browse files
committed
chore(parser): regenerate parser sources using tree-sitter v0.26.5 (ABI version 15)
Refresh generated parser artifacts so CI generation checks pass with parser-test-action defaults. Include updated runtime headers emitted by modern tree-sitter when rebuilding the grammar.
1 parent 12aefa9 commit bfcdd0c

7 files changed

Lines changed: 13673 additions & 13753 deletions

File tree

queries/highlights.scm

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
;; Literals
2-
1+
; Literals
32
(num_lit) @number
43

54
[
@@ -8,22 +7,20 @@
87
] @string
98

109
[
11-
(bool_lit)
12-
(nil_lit)
10+
(bool_lit)
11+
(nil_lit)
1312
] @constant.builtin
1413

1514
(kwd_lit) @constant
1615

17-
;; Comments
18-
16+
; Comments
1917
(comment) @comment
2018

21-
;; Treat quasiquotation as operators for the purpose of highlighting.
22-
19+
; Treat quasiquotation as operators for the purpose of highlighting.
2320
[
24-
"'"
25-
"`"
26-
"~"
27-
"@"
28-
"~@"
21+
"'"
22+
"`"
23+
"~"
24+
"@"
25+
"~@"
2926
] @operator

src/grammar.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
23
"name": "clojure",
34
"rules": {
45
"source": {
@@ -1934,6 +1935,6 @@
19341935
"_sym_qualified",
19351936
"_sym_unqualified"
19361937
],
1937-
"supertypes": []
1938-
}
1939-
1938+
"supertypes": [],
1939+
"reserved": {}
1940+
}

src/node-types.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,6 +1911,7 @@
19111911
{
19121912
"type": "source",
19131913
"named": true,
1914+
"root": true,
19141915
"fields": {},
19151916
"children": {
19161917
"multiple": true,

0 commit comments

Comments
 (0)