about summary refs log tree commit diff stats
path: root/072scenario_screen.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-13 16:33:40 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-13 16:34:10 -0700
commit31401373614ec131d415e9c6bcbb83dd78b98b6e (patch)
tree9e9ea6ccffb1438f1f776b16be3ec5626e085b19 /072scenario_screen.cc
parent5497090aa1e708c22cd240913a53dda32bb067aa (diff)
downloadmu-31401373614ec131d415e9c6bcbb83dd78b98b6e.tar.gz
1364 - trace call-stack when switching routines
Drop the #$%# 'encapsulated' stack ADT.
Diffstat (limited to '072scenario_screen.cc')
-rw-r--r--072scenario_screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/072scenario_screen.cc b/072scenario_screen.cc
index f75e7fdc..06566b7d 100644
--- a/072scenario_screen.cc
+++ b/072scenario_screen.cc
@@ -85,7 +85,7 @@ case SCREEN_SHOULD_CONTAIN: {
 
 :(code)
 void check_screen(const string& contents) {
-  assert(!Current_routine->calls.top().default_space);  // not supported
+  assert(!Current_routine->calls.front().default_space);  // not supported
   index_t screen_location = Memory[SCREEN];
   int data_offset = find_element_name(Type_number["screen"], "data");
   assert(data_offset >= 0);