mirror of
https://github.com/elladunbar/tree-sitter-zanscript.git
synced 2025-11-05 23:29:54 -06:00
Fix builtin function name highlighting
This commit is contained in:
parent
073ab245c7
commit
1a002fb23b
5 changed files with 2243 additions and 5369 deletions
9
src/grammar.json
generated
9
src/grammar.json
generated
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"name": "zanscript",
|
||||
"word": "identifier",
|
||||
"rules": {
|
||||
"translation_unit": {
|
||||
"type": "REPEAT",
|
||||
|
|
@ -366,8 +367,12 @@
|
|||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "identifier"
|
||||
"type": "FIELD",
|
||||
"name": "name",
|
||||
"content": {
|
||||
"type": "SYMBOL",
|
||||
"name": "identifier"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
|
|
|
|||
15
src/node-types.json
generated
15
src/node-types.json
generated
|
|
@ -149,10 +149,21 @@
|
|||
{
|
||||
"type": "function",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"fields": {
|
||||
"name": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "identifier",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"children": {
|
||||
"multiple": true,
|
||||
"required": true,
|
||||
"required": false,
|
||||
"types": [
|
||||
{
|
||||
"type": "identifier",
|
||||
|
|
|
|||
7558
src/parser.c
generated
7558
src/parser.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue