issue quick patch for a stupid issue i didn't catch
This commit is contained in:
parent
28a48986ba
commit
0beea08571
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "lintc"
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
edition = "2021"
|
||||
build = "build.rs"
|
||||
|
||||
|
|
|
@ -154,7 +154,7 @@ fn parse(code: String) -> String {
|
|||
i = i + 1;
|
||||
}
|
||||
}
|
||||
blocks[3].push_str(&format!("LIT {} .{} STZ\n", value[1], counter.to_string()));
|
||||
blocks[3].push_str(&format!("LIT {} .{} STZ\n", value[1], i.to_string()));
|
||||
}
|
||||
println!("Assigned value to variable {}.", value[0]);
|
||||
} else if line.contains(";;") {
|
||||
|
|
Reference in a new issue