about summary refs log tree commit diff
path: root/src/compiletest/header.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiletest/header.rs')
-rw-r--r--src/compiletest/header.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs
index 3f2ce9a0507..2810ffd139a 100644
--- a/src/compiletest/header.rs
+++ b/src/compiletest/header.rs
@@ -43,11 +43,11 @@ fn load_props(testfile: str) -> test_props {
             pp_exact = parse_pp_exact(ln, testfile);
         }
 
-        option::iter(parse_aux_build(ln)) {|ab|
+        do option::iter(parse_aux_build(ln)) {|ab|
             vec::push(aux_builds, ab);
         }
 
-        option::iter(parse_exec_env(ln)) {|ee|
+        do option::iter(parse_exec_env(ln)) {|ee|
             vec::push(exec_env, ee);
         }
     };
@@ -104,7 +104,7 @@ fn parse_compile_flags(line: str) -> option<str> {
 }
 
 fn parse_exec_env(line: str) -> option<(str, str)> {
-    parse_name_value_directive(line, "exec-env").map {|nv|
+    do parse_name_value_directive(line, "exec-env").map {|nv|
         // nv is either FOO or FOO=BAR
         let strs = str::splitn_char(nv, '=', 1u);
         alt strs.len() {