diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-03-13 17:57:30 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-03-13 17:57:30 -0700 |
commit | f7051fadd90af17820df750d448dc35ea63690e3 (patch) | |
tree | 90e0a42805cc74938c3ebb2c4437edf81137a666 /cpp/015jump | |
parent | 781f24623374b5657cec6e408549d2a74ec94399 (diff) | |
download | mu-f7051fadd90af17820df750d448dc35ea63690e3.tar.gz |
901
Diffstat (limited to 'cpp/015jump')
-rw-r--r-- | cpp/015jump | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/015jump b/cpp/015jump index 26861166..5b4a9624 100644 --- a/cpp/015jump +++ b/cpp/015jump @@ -3,6 +3,7 @@ const int JUMP = 10; :(before "End Primitive Recipe Numbers") Recipe_number["jump"] = JUMP; +assert(Next_recipe_number == JUMP); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case JUMP: { @@ -35,6 +36,7 @@ recipe main [ const int JUMP_IF = 11; :(before "End Primitive Recipe Numbers") Recipe_number["jump-if"] = JUMP_IF; +assert(Next_recipe_number == JUMP_IF); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case JUMP_IF: { @@ -76,6 +78,7 @@ recipe main [ const int JUMP_UNLESS = 12; :(before "End Primitive Recipe Numbers") Recipe_number["jump-unless"] = JUMP_UNLESS; +assert(Next_recipe_number == JUMP_UNLESS); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case JUMP_UNLESS: { |