Workflows

This commit is contained in:
allexanderbergmns
2026-08-24 17:30:50 +02:00
parent 265e667912
commit 31d1c20790
4 changed files with 286 additions and 36 deletions
+2
View File
@@ -30,6 +30,7 @@ pub enum TokKind {
dotdot
dotdotdot
kw_fn
kw_struct
kw_let
kw_if
kw_else
@@ -254,6 +255,7 @@ fn (mut l Lexer) lex_ident(line int) Tok {
lit := l.src[start..l.pos]
kind := match lit {
'fn' { TokKind.kw_fn }
'struct' { TokKind.kw_struct }
'let' { TokKind.kw_let }
'if' { TokKind.kw_if }
'else' { TokKind.kw_else }