Fix builtin function name highlighting

This commit is contained in:
Evan Dunbar 2024-09-25 18:27:55 -05:00
parent 2a2ba3d4c3
commit c699ee5fb4
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",