aboutsummaryrefslogtreecommitdiff
path: root/src/lexer.l
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-03-17 02:12:02 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-03-17 02:12:02 +0200
commit78bf3e039d77e3eb0d5e394273adb69b2b70a76d (patch)
tree0ed6f2058e348dbd18b0baa9c4ee442206191096 /src/lexer.l
parent2367a8b63c3bcfe62d1aaf7d82c0ab3622f3b16c (diff)
downloadfwd-78bf3e039d77e3eb0d5e394273adb69b2b70a76d.tar.gz
fwd-78bf3e039d77e3eb0d5e394273adb69b2b70a76d.zip
detect leaks
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;}