From 72ce9e990e8df7ad4ddb591dd0a0b96cf89503f6 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 11 Jan 2020 14:37:52 +0100 Subject: token: add tokens for equal and not equal. --- users/fcuny/exp/monkey/pkg/token/token.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'users') diff --git a/users/fcuny/exp/monkey/pkg/token/token.go b/users/fcuny/exp/monkey/pkg/token/token.go index a211c55..b2342e7 100644 --- a/users/fcuny/exp/monkey/pkg/token/token.go +++ b/users/fcuny/exp/monkey/pkg/token/token.go @@ -42,6 +42,9 @@ const ( SLASH = "/" LT = "<" GT = ">" + + EQ = "==" + NOT_EQ = "!=" ) // List of our keywords for the language -- cgit 1.4.1