diff --git a/src/tokenizer.rs b/src/tokenizer.rs index 3db0013..82e3d8e 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -31,10 +31,8 @@ pub struct OpTok(pub Rc); #[derive(Debug, Clone, PartialEq)] pub enum Kw { If, - Then, Else, While, - End, Let, Fn, Null, @@ -140,10 +138,8 @@ fn tokenize_identifier(c: char, iter: &mut Peekable) -> Result Keyword(Kw::If), - "then" => Keyword(Kw::Then), "else" => Keyword(Kw::Else), "while" => Keyword(Kw::While), - "end" => Keyword(Kw::End), "let" => Keyword(Kw::Let), "fn" => Keyword(Kw::Fn), "null" => Keyword(Kw::Null),