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