about summary refs log tree commit diff stats
path: root/cpp/017record
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/017record')
-rw-r--r--cpp/017record2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/017record b/cpp/017record
index 6ce9da1d..d64fdcb6 100644
--- a/cpp/017record
+++ b/cpp/017record
@@ -28,6 +28,7 @@ recipe main [
 const int GET = 18;
 :(before "End Primitive Recipe Numbers")
 Recipe_number["get"] = GET;
+assert(Next_recipe_number == GET);
 Next_recipe_number++;
 :(before "End Primitive Recipe Implementations")
 case GET: {
@@ -104,6 +105,7 @@ recipe main [
 const int GET_ADDRESS = 19;
 :(before "End Primitive Recipe Numbers")
 Recipe_number["get-address"] = GET_ADDRESS;
+assert(Next_recipe_number == GET_ADDRESS);
 Next_recipe_number++;
 :(before "End Primitive Recipe Implementations")
 case GET_ADDRESS: {