summaryrefslogtreecommitdiff
path: root/lang/token.go
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-11-20 11:00:51 +0100
committerMarc Vertes <mvertes@free.fr>2023-11-20 11:00:51 +0100
commit001ca51323a1a54c9b3db377f0783c330666c480 (patch)
tree7779e6b0c453f9f38bd5a24201011475f2b1f53a /lang/token.go
parentee21c324ce8c41b589e5a39e5715223ffd154315 (diff)
parser: add support for slices and arrays, parse index expressions
Diffstat (limited to 'lang/token.go')
-rw-r--r--lang/token.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/token.go b/lang/token.go
index 37ac557..a894c98 100644
--- a/lang/token.go
+++ b/lang/token.go
@@ -108,6 +108,7 @@ const (
Call
CallX
Grow
+ Index
Label
JumpFalse
JumpSetFalse