diff --git a/rottlib/src/lexer/lexing.rs b/rottlib/src/lexer/lexing.rs index c0a1b1e..08ac024 100644 --- a/rottlib/src/lexer/lexing.rs +++ b/rottlib/src/lexer/lexing.rs @@ -170,6 +170,8 @@ pub enum Token { NativeReplication, // # Control-flow keywords + #[regex("(?i)goto")] + Goto, #[regex("(?i)if")] If, #[regex("(?i)else")]