aboutsummaryrefslogtreecommitdiff
path: root/token.go
diff options
context:
space:
mode:
Diffstat (limited to 'token.go')
-rw-r--r--token.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/token.go b/token.go
index 20d4727..14d23a1 100644
--- a/token.go
+++ b/token.go
@@ -104,6 +104,8 @@ func (k tokenKind) String() string {
return "const"
case mut:
return "mut"
+ case assign:
+ return "assign"
}
return "invalid token"
@@ -159,6 +161,7 @@ const (
ret
constKeyword
mut
+ assign
)
type token struct {