diff options
Diffstat (limited to 'cpp/014boolean')
-rw-r--r-- | cpp/014boolean | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/014boolean b/cpp/014boolean index 61f5f436..e6dd12ba 100644 --- a/cpp/014boolean +++ b/cpp/014boolean @@ -3,6 +3,7 @@ const int AND = 7; :(before "End Primitive Recipe Numbers") Recipe_number["and"] = AND; +assert(Next_recipe_number == AND); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case AND: { @@ -37,6 +38,7 @@ recipe main [ const int OR = 8; :(before "End Primitive Recipe Numbers") Recipe_number["or"] = OR; +assert(Next_recipe_number == OR); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case OR: { @@ -71,6 +73,7 @@ recipe main [ const int NOT = 9; :(before "End Primitive Recipe Numbers") Recipe_number["not"] = NOT; +assert(Next_recipe_number == NOT); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case NOT: { |