From 31401373614ec131d415e9c6bcbb83dd78b98b6e Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 13 May 2015 16:33:40 -0700 Subject: 1364 - trace call-stack when switching routines Drop the #$%# 'encapsulated' stack ADT. --- 050scenario.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '050scenario.cc') 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() } -- cgit 1.4.1-2-gfad0