about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-27 18:12:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-27 18:12:20 -0700
commit83df835077a398103cbc67edc033dfe5d6dd401e (patch)
tree1242593064c7a6c85b9063d4f426a12a30ef70a7
parenteba30983f79e27dc3aa02a785423a96dea68d8b1 (diff)
downloadmu-83df835077a398103cbc67edc033dfe5d6dd401e.tar.gz
1670
-rw-r--r--041name.cc8
-rw-r--r--072scenario_screen.cc10
2 files changed, 10 insertions, 8 deletions
diff --git a/041name.cc b/041name.cc
index 1aa46592..eccc7b27 100644
--- a/041name.cc
+++ b/041name.cc
@@ -190,14 +190,6 @@ recipe main [
 -warn: mixing variable names and numeric addresses in main
 $warn: 0
 
-:(scenario convert_names_does_not_warn_when_mixing_special_names_and_numeric_locations)
-% Hide_warnings = true;
-recipe main [
-  screen:number <- copy 1:number
-]
--warn: mixing variable names and numeric addresses in main
-$warn: 0
-
 :(scenario convert_names_warns_on_reusing_name_with_different_type)
 % Hide_warnings = true;
 recipe main [
diff --git a/072scenario_screen.cc b/072scenario_screen.cc
index 6d6f18cb..f388ea11 100644
--- a/072scenario_screen.cc
+++ b/072scenario_screen.cc
@@ -107,6 +107,16 @@ scenario screen-in-scenario-color [
 :(before "End is_special_name Cases")
 if (s == "screen") return true;
 
+:(scenarios run)
+:(scenario convert_names_does_not_warn_when_mixing_special_names_and_numeric_locations)
+% Hide_warnings = true;
+recipe main [
+  screen:number <- copy 1:number
+]
+-warn: mixing variable names and numeric addresses in main
+$warn: 0
+:(scenarios run_mu_scenario)
+
 :(before "End Globals")
 // Scenarios may not define default-space, so they should fit within the
 // initial area of memory reserved for tests. We'll put the predefined