about summary refs log tree commit diff stats
path: root/050scenario.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 /050scenario.cc
parent5497090aa1e708c22cd240913a53dda32bb067aa (diff)
downloadmu-31401373614ec131d415e9c6bcbb83dd78b98b6e.tar.gz
1364 - trace call-stack when switching routines
Drop the #$%# 'encapsulated' stack ADT.
Diffstat (limited to '050scenario.cc')
-rw-r--r--050scenario.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/050scenario.cc b/050scenario.cc
index e91cb3ae..d5b7d546 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -158,7 +158,7 @@ case RUN: {
   // End Predefined Scenario Locals In Run.
   transform_all();
 //?   cout << tmp_recipe.at(0) << ' ' << Recipe_number["main"] << '\n'; //? 1
-  Current_routine->calls.push(call(tmp_recipe.at(0)));
+  Current_routine->calls.push_front(call(tmp_recipe.at(0)));
   continue;  // not done with caller; don't increment current_step_index()
 }