aboutsummaryrefslogtreecommitdiff
path: root/src/lexer.l
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-03-23 22:29:11 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-03-23 22:29:11 +0200
commitc87f5a8871edf6880b894a00b180c554ffd46d0a (patch)
tree8f4ac966d1ca37884bf55078b8318d0ba198af9e /src/lexer.l
parent350f6c40fa18c35bde9489225175c82de44ba709 (diff)
downloadfwd-c87f5a8871edf6880b894a00b180c554ffd46d0a.tar.gz
fwd-c87f5a8871edf6880b894a00b180c554ffd46d0a.zip
start sketching out type system
Diffstat (limited to 'src/lexer.l')
-rw-r--r--src/lexer.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lexer.l b/src/lexer.l
index e11b51e..e6a3f22 100644
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -131,6 +131,10 @@ STRING \"(\\.|[^"\\])*\"
"else" {return ELSE;}
"nil" {return NIL;}
"own" {return OWN;}
+"pub" {return PUB;}
+
+"import" {return IMPORT;}
+"continue" {return CONTINUE;}
"error" {return ERROR;}