From 78bf3e039d77e3eb0d5e394273adb69b2b70a76d Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 17 Mar 2025 02:12:02 +0200 Subject: detect leaks --- src/lexer.l | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lexer.l') 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;} -- cgit v1.2.3