for loop
This commit is contained in:
@@ -37,6 +37,8 @@ pub enum TokenType {
|
||||
KeywordIf,
|
||||
KeywordElse,
|
||||
KeywordWhile,
|
||||
KeywordFor,
|
||||
KeywordIn,
|
||||
KeywordFunc,
|
||||
KeywordReturn,
|
||||
KeywordAssert,
|
||||
@@ -310,6 +312,8 @@ impl Tokenizer {
|
||||
"if" => TokenType::KeywordIf,
|
||||
"else" => TokenType::KeywordElse,
|
||||
"while" => TokenType::KeywordWhile,
|
||||
"for" => TokenType::KeywordFor,
|
||||
"in" => TokenType::KeywordIn,
|
||||
"func" => TokenType::KeywordFunc,
|
||||
"return" => TokenType::KeywordReturn,
|
||||
"assert" => TokenType::KeywordAssert,
|
||||
|
||||
Reference in New Issue
Block a user