about summary refs log tree commit diff stats
path: root/035call_ingredient.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-28 05:50:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-28 05:51:15 -0700
commit3b795875bc7ab25e5cfa02f74b1a4428af4c0ec4 (patch)
tree3b5ac4de7382ee1ff682fd9e94a813484bb3d6d9 /035call_ingredient.cc
parent3eeea0a22d16e0fcd43bd33725c0b54639d0ad14 (diff)
downloadmu-3b795875bc7ab25e5cfa02f74b1a4428af4c0ec4.tar.gz
2295 - drop first-class recipes and continuations
Making life too complex at this time.
Diffstat (limited to '035call_ingredient.cc')
-rw-r--r--035call_ingredient.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/035call_ingredient.cc b/035call_ingredient.cc
index c8f6d75a..1291e567 100644
--- a/035call_ingredient.cc
+++ b/035call_ingredient.cc
@@ -22,7 +22,6 @@ recipe f [
 
 :(before "End call Fields")
 vector<vector<double> > ingredient_atoms;
-vector<type_tree*> ingredient_types;
 long long int next_ingredient_to_process;
 :(before "End call Constructor")
 next_ingredient_to_process = 0;
@@ -30,9 +29,6 @@ next_ingredient_to_process = 0;
 :(before "End Call Housekeeping")
 for (long long int i = 0; i < SIZE(ingredients); ++i) {
   Current_routine->calls.front().ingredient_atoms.push_back(ingredients.at(i));
-  if (SIZE(Current_routine->calls) > 1)
-    Current_routine->calls.front().ingredient_types.push_back(call_instruction.ingredients.at(i).type);
-  // todo: else function is main and ingredient_type is string
 }
 
 :(before "End Primitive Recipe Declarations")