another bug fix

This commit is contained in:
Leo
2024-04-10 20:58:55 +02:00
parent 8b9bf4cc90
commit e9cf927390
3 changed files with 85 additions and 26 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ pub fn transpile(input: String, indent: u32) -> String {
input = auto_strip(input);
}
let mut result = String::new();
let tokens = lex(input.as_str(), false);
let tokens = lex(input.as_str(), true);
println!("\n\n\n\n");
let mut full_ast = Parser::new(tokens.clone());
while full_ast.tokens.len() > full_ast.index as usize {