diff options
Diffstat (limited to 'cpp/032new')
-rw-r--r-- | cpp/032new | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/032new b/cpp/032new index e75d4148..e0460170 100644 --- a/cpp/032new +++ b/cpp/032new @@ -35,13 +35,10 @@ if (inst.operation == Recipe_number["new"]) { trace("new") << inst.ingredients[0].name << " -> " << inst.ingredients[0].value; } -:(before "End Globals") -// Operator to look at elements of arrays. -const int NEW = 30; +:(before "End Primitive Recipe Declarations") +NEW, :(before "End Primitive Recipe Numbers") Recipe_number["new"] = NEW; -assert(Next_recipe_number == NEW); -Next_recipe_number++; :(before "End Primitive Recipe Implementations") case NEW: { vector<int> result; |