about summary refs log tree commit diff stats
path: root/022arithmetic.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-30 02:01:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-30 02:01:59 -0700
commite236973be09620daec70d83f7a5846e8f6fff680 (patch)
tree0de608da6bbad2b019c548788af24607f535c1bd /022arithmetic.cc
parent4e49b29e63b0d369b81318ac822dc06ce06786b5 (diff)
downloadmu-e236973be09620daec70d83f7a5846e8f6fff680.tar.gz
2222
Diffstat (limited to '022arithmetic.cc')
-rw-r--r--022arithmetic.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/022arithmetic.cc b/022arithmetic.cc
index 66aefbc8..dc06a46a 100644
--- a/022arithmetic.cc
+++ b/022arithmetic.cc
@@ -4,7 +4,7 @@
 ADD,
 :(before "End Primitive Recipe Numbers")
 Recipe_ordinal["add"] = ADD;
-:(before "End Primitive Recipe Type Checks")
+:(before "End Primitive Recipe Checks")
 case ADD: {
   // primary goal of these checks is to forbid address arithmetic
   for (long long int i = 0; i < SIZE(inst.ingredients); ++i) {
@@ -72,7 +72,7 @@ recipe main [
 SUBTRACT,
 :(before "End Primitive Recipe Numbers")
 Recipe_ordinal["subtract"] = SUBTRACT;
-:(before "End Primitive Recipe Type Checks")
+:(before "End Primitive Recipe Checks")
 case SUBTRACT: {
   if (inst.ingredients.empty()) {
     raise << Recipe[r].name << ": 'subtract' has no ingredients\n" << end();
@@ -129,7 +129,7 @@ recipe main [
 MULTIPLY,
 :(before "End Primitive Recipe Numbers")
 Recipe_ordinal["multiply"] = MULTIPLY;
-:(before "End Primitive Recipe Type Checks")
+:(before "End Primitive Recipe Checks")
 case MULTIPLY: {
   for (long long int i = 0; i < SIZE(inst.ingredients); ++i) {
     if (!is_mu_number(inst.ingredients.at(i))) {
@@ -182,7 +182,7 @@ recipe main [
 DIVIDE,
 :(before "End Primitive Recipe Numbers")
 Recipe_ordinal["divide"] = DIVIDE;
-:(before "End Primitive Recipe Type Checks")
+:(before "End Primitive Recipe Checks")
 case DIVIDE: {
   if (inst.ingredients.empty()) {
     raise << Recipe[r].name << ": 'divide' has no ingredients\n" << end();
@@ -240,7 +240,7 @@ recipe main [
 DIVIDE_WITH_REMAINDER,
 :(before "End Primitive Recipe Numbers")
 Recipe_ordinal["divide-with-remainder"] = DIVIDE_WITH_REMAINDER;
-:(before "End Primitive Recipe Type Checks")
+:(before "End Primitive Recipe Checks")
 case DIVIDE_WITH_REMAINDER: {
   if (SIZE(inst.ingredients) != 2) {
     raise << current_recipe_name() << ": 'divide-with-remainder' requires exactly two ingredients, but got '" << current_instruction().to_string() << "'\n" << end();