Fix bug in delete routine
This commit is contained in:
parent
10d51cc29c
commit
a65544356c
@ -1,5 +1,5 @@
|
||||
|
||||
|
||||
fn main()
|
||||
25 % 20
|
||||
1 + 2 + 3 + 4 * 2
|
||||
end
|
||||
|
@ -138,9 +138,9 @@ pub fn compilation_sequence(ast: AST, sourcefile: &str) {
|
||||
.output()
|
||||
.expect("failed to run gcc");
|
||||
|
||||
for filename in [ll_filename, obj_filename].iter() {
|
||||
for filename in [obj_filename].iter() {
|
||||
Command::new("rm")
|
||||
.arg(ll_filename)
|
||||
.arg(filename)
|
||||
.output()
|
||||
.expect(&format!("failed to run rm {}", filename));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user