diff --git a/kabel-rs/src/lexer.rs b/kabel-rs/src/lexer.rs index c21a2f9..fdec5b8 100644 --- a/kabel-rs/src/lexer.rs +++ b/kabel-rs/src/lexer.rs @@ -146,9 +146,9 @@ pub fn lexer(text_source: &str) -> Result, Box> { } - &_ => { state.current_token.push(c); } + &_ => {} } - + state.current_token.push(c); } Ok(state.lexed)