Fix builtin function name highlighting

This commit is contained in:
Ella Dunbar 2025-10-18 16:58:19 -05:00
parent 073ab245c7
commit 1a002fb23b
5 changed files with 2243 additions and 5369 deletions

9
src/grammar.json generated
View file

@ -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",