about summary refs log tree commit diff stats
path: root/cpp/027call_reply
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-17 10:31:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-17 10:31:17 -0700
commit1848b18f02b158861008214efd19708585bfcbe5 (patch)
tree3b5ddc0355f9b2b099156a668761cf45edefefb1 /cpp/027call_reply
parent9da1b126cc017e14035b94c4615d211e5bc4bb21 (diff)
downloadmu-1848b18f02b158861008214efd19708585bfcbe5.tar.gz
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.
Diffstat (limited to 'cpp/027call_reply')
-rw-r--r--cpp/027call_reply6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/027call_reply b/cpp/027call_reply
index feb549e6..b44552cc 100644
--- a/cpp/027call_reply
+++ b/cpp/027call_reply
@@ -14,12 +14,10 @@ recipe f [
 +run: result 1 is 3
 +mem: storing 3 in location 4
 
-:(before "End Globals")
-const int REPLY = 23;
+:(before "End Primitive Recipe Declarations")
+REPLY,
 :(before "End Primitive Recipe Numbers")
 Recipe_number["reply"] = REPLY;
-assert(Next_recipe_number == REPLY);
-Next_recipe_number++;
 :(before "End Primitive Recipe Implementations")
 case REPLY: {
   vector<vector<int> > callee_results;