about summary refs log tree commit diff stats
path: root/043space.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-25 08:24:14 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-25 08:24:14 -0800
commit05331766a971ecd1c3df236af0b374ae039b1142 (patch)
treec9cbc809046feaa86762c43edc77f1067f44c8e8 /043space.cc
parent5ed9bb135efb7e581eeb879b8af357d3b9baf6ea (diff)
downloadmu-05331766a971ecd1c3df236af0b374ae039b1142.tar.gz
2703
Diffstat (limited to '043space.cc')
-rw-r--r--043space.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/043space.cc b/043space.cc
index a1c91a34..e068e874 100644
--- a/043space.cc
+++ b/043space.cc
@@ -247,12 +247,12 @@ void rewrite_default_space_instruction(instruction& curr) {
 //:: all recipes must set default-space one way or another
 
 :(before "End Globals")
-bool Warn_on_missing_default_space = false;
+bool Hide_missing_default_space_errors = true;
 :(before "End Checks")
 Transform.push_back(check_default_space);  // idempotent
 :(code)
 void check_default_space(const recipe_ordinal r) {
-  if (!Warn_on_missing_default_space) return;  // skip previous core tests; this is only for mu code
+  if (Hide_missing_default_space_errors) return;  // skip previous core tests; this is only for mu code
   const recipe& caller = get(Recipe, r);
   // skip scenarios (later layer)
   // user code should never create recipes with underscores in their names
@@ -269,11 +269,11 @@ void check_default_space(const recipe_ordinal r) {
   }
 }
 :(after "Load .mu Core")
-Warn_on_missing_default_space = true;
+Hide_missing_default_space_errors = false;
 :(after "Test Runs")
-Warn_on_missing_default_space = false;
+Hide_missing_default_space_errors = true;
 :(after "Running Main")
-Warn_on_missing_default_space = true;
+Hide_missing_default_space_errors = false;
 
 :(code)
 bool contains_non_special_name(const recipe_ordinal r) {