Fix bug in delete routine

This commit is contained in:
greg 2016-12-26 12:05:29 -08:00
parent 10d51cc29c
commit a65544356c
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
fn main()
25 % 20
1 + 2 + 3 + 4 * 2
end

View File

@ -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));
}