about summary refs log tree commit diff
path: root/src/lex/token.rs
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2021-10-23 22:01:52 +0200
committerMel <einebeere@gmail.com>2021-10-23 22:01:52 +0200
commit8a6eb35a900081967db16d313ab7ed470de6570f (patch)
treed58dd702d8a742c7554545bc4e291480649e3663 /src/lex/token.rs
parentda14afd74e1659af6ce4553360ac5dd0ce933db8 (diff)
downloadrabbithole-8a6eb35a900081967db16d313ab7ed470de6570f.tar.zst
rabbithole-8a6eb35a900081967db16d313ab7ed470de6570f.zip
Loop expressions and concrete walker errors.
Diffstat (limited to 'src/lex/token.rs')
-rw-r--r--src/lex/token.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lex/token.rs b/src/lex/token.rs
index 5debbfd..2fb5d5b 100644
--- a/src/lex/token.rs
+++ b/src/lex/token.rs
@@ -53,11 +53,14 @@ pub enum TokenVariant {
     KeywordIf,
     KeywordElif,
     KeywordElse,
+    KeywordLoop,
     KeywordForm,
     KeywordType,
     KeywordTrue,
     KeywordFalse,
     KeywordSelf,
+    KeywordBreak,
+    KeywordContinue,
     KeywordReturn,
     KeywordPrint,