continue statements now working
This commit is contained in:
@@ -410,6 +410,7 @@ impl Tokenizer {
|
||||
"loop" if next_ws!() => keyword!(Loop),
|
||||
"break" if next_ws!() => keyword!(Break),
|
||||
"while" if next_ws!() => keyword!(While),
|
||||
"continue" if next_ws!() => keyword!(Continue),
|
||||
|
||||
// boolean literals
|
||||
"true" if next_ws!() => {
|
||||
|
||||
@@ -210,6 +210,8 @@ impl Symbol {
|
||||
|
||||
#[derive(Debug, PartialEq, Hash, Eq, Clone, Copy)]
|
||||
pub enum Keyword {
|
||||
/// Represents the `continue` keyword
|
||||
Continue,
|
||||
/// Represents the `let` keyword
|
||||
Let,
|
||||
/// Represents the `fn` keyword
|
||||
|
||||
Reference in New Issue
Block a user