summaryrefslogtreecommitdiff
path: root/lang/token.go
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-12-19 18:00:34 +0100
committerMarc Vertes <mvertes@free.fr>2025-12-19 18:00:34 +0100
commit3cf8207c708f23d1bd8400de5483b6b8eadb01ca (patch)
tree7b10d04e1075490272e99c3e9bac6118406bc4ab /lang/token.go
parentf07fc0178831432b68f1b9bd6c96b257aa2e9abe (diff)
fix lang: attribute properties to tokens, not strings
Diffstat (limited to 'lang/token.go')
-rw-r--r--lang/token.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/token.go b/lang/token.go
index 41c8439..4f5da35 100644
--- a/lang/token.go
+++ b/lang/token.go
@@ -120,6 +120,9 @@ const (
JumpSetTrue
Label
New
+
+ // This must be the last token value.
+ MaxTok
)
// UnaryOp contains the set of unary operators.