diff options
-rw-r--r-- | 041name.cc | 8 | ||||
-rw-r--r-- | 072scenario_screen.cc | 10 |
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 |