This commit is contained in:
2024-04-29 12:48:25 +02:00
parent 78fdf69422
commit d93f5dd85a
2 changed files with 15 additions and 12 deletions
+1
View File
@@ -236,6 +236,7 @@ pub fn lex(mut code: &str, use_whitespace: bool) -> Result<Vec<Token>, (LexerSta
"\n" => {
code = code.strip_prefix(fch.as_str()).expect("");
state.line += 1;
state.column = 0;
}
_ => {
if inside_str > 0 || brvct.len() > 0 {