aboutsummaryrefslogtreecommitdiff
path: root/src/lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/lexer.l')
-rw-r--r--src/lexer.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lexer.l b/src/lexer.l
index ccae93e..e11b51e 100644
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -122,12 +122,17 @@ STRING \"(\\.|[^"\\])*\"
"==" {return EQ;}
"=>" {return FATARROW;}
+"!>" {return ERRARROW;}
"<<" {return LSHIFT;}
">>" {return RSHIFT;}
"if" {return IF;}
"else" {return ELSE;}
+"nil" {return NIL;}
+"own" {return OWN;}
+
+"error" {return ERROR;}
"mut" {return MUT;}