From 1848b18f02b158861008214efd19708585bfcbe5 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 17 Apr 2015 10:31:17 -0700 Subject: 1073 - stop fixing the values of primitive recipes In the process I give up trace stability when I move files around, but I gain in exchange the ability to move files around. --- cpp/026call_ingredient | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpp/026call_ingredient') diff --git a/cpp/026call_ingredient b/cpp/026call_ingredient index 963c5fe8..ecf53539 100644 --- a/cpp/026call_ingredient +++ b/cpp/026call_ingredient @@ -25,12 +25,10 @@ for (vector::iterator p = instructions[pc].ingredients.begin(); p != in } rr.calls.push(callee); -:(before "End Globals") -const int NEXT_INGREDIENT = 22; +:(before "End Primitive Recipe Declarations") +NEXT_INGREDIENT, :(before "End Primitive Recipe Numbers") Recipe_number["next-ingredient"] = NEXT_INGREDIENT; -assert(Next_recipe_number == NEXT_INGREDIENT); -Next_recipe_number++; :(before "End Primitive Recipe Implementations") case NEXT_INGREDIENT: { if (rr.calls.top().next_ingredient_to_process < rr.calls.top().ingredient_atoms.size()) { -- cgit 1.4.1-2-gfad0