diff options
Diffstat (limited to 'cpp/019array')
-rw-r--r-- | cpp/019array | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/019array b/cpp/019array index fe457b0a..3d797161 100644 --- a/cpp/019array +++ b/cpp/019array @@ -59,6 +59,7 @@ size_t size_of(reagent r) { const int INDEX = 20; :(before "End Primitive Recipe Numbers") Recipe_number["index"] = INDEX; +assert(Next_recipe_number == INDEX); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case INDEX: { @@ -105,6 +106,7 @@ recipe main [ const int INDEX_ADDRESS = 21; :(before "End Primitive Recipe Numbers") Recipe_number["index-address"] = INDEX_ADDRESS; +assert(Next_recipe_number == INDEX_ADDRESS); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case INDEX_ADDRESS: { |