From 8e7b4429787bc2b7fe289f264d09a4b1f5f6b081 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 20 Aug 2016 20:01:25 -0700 Subject: 3235 --- html/082scenario_screen.cc.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'html/082scenario_screen.cc.html') diff --git a/html/082scenario_screen.cc.html b/html/082scenario_screen.cc.html index df06104d..d66b7407 100644 --- a/html/082scenario_screen.cc.html +++ b/html/082scenario_screen.cc.html @@ -151,10 +151,6 @@ scenario screen-in-scenario-color [ ] +error: expected screen location (0, 0) to be in color 2 instead of 1 -//: allow naming just for 'screen' -:(before "End is_special_name Cases") -if (s == "screen") return true; - :(scenarios run) :(scenario convert_names_does_not_fail_when_mixing_special_names_and_numeric_locations) % Scenario_testing_scenario = true; @@ -183,8 +179,13 @@ assert(Name[tmp_recipe.// Scenario Globals. const int SCREEN = Next_predefined_global_for_scenarios++; // End Scenario Globals. + +//: give 'screen' a fixed location in scenarios :(before "End Special Scenario Variable Names(r)") Name[r]["screen"] = SCREEN; +//: make 'screen' always a raw location in scenarios +:(before "End is_special_name Cases") +if (s == "screen") return true; :(before "End Rewrite Instruction(curr, recipe result)") // rewrite `assume-screen width, height` to -- cgit 1.4.1-2-gfad0