This commit is contained in:
afonya2 2025-06-11 20:24:01 +02:00
parent 79d4c36440
commit 37b6e8ecdb
Signed by: afonya
GPG key ID: EBB9C4CAFAAFB2DC
4 changed files with 11 additions and 7 deletions

View file

@ -213,7 +213,8 @@ pub fn print_error(error: &ASLError, ctx: &Context) {
out.push_str(&current);
out.push_str("\n");
out.push_str(" ");
out.push_str(" ");
out.push_str(&" ".repeat(line.to_string().len()));
out.push_str(&" ".repeat(column - 1));
out.push_str("^ ");
if error.message.len() < 1 {