about summary refs log tree commit diff stats
path: root/032array.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-07 09:10:48 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-11-07 09:10:48 -0800
commit1211a3ab30eb5cfbf1cb5b910eefb8d64dcb2107 (patch)
tree5d655f51604d85c8568e19c05dd129ad953c6511 /032array.cc
parent133a4614365bbcc74602284beedc7b274fcf3e24 (diff)
downloadmu-1211a3ab30eb5cfbf1cb5b910eefb8d64dcb2107.tar.gz
3643
Standardize on calling literate waypoints "Special-cases" rather than
"Cases". Invariably there's a default path already present.
Diffstat (limited to '032array.cc')
-rw-r--r--032array.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/032array.cc b/032array.cc
index c9182912..b4a5848a 100644
--- a/032array.cc
+++ b/032array.cc
@@ -98,7 +98,7 @@ def main [
 ]
 +app: foo: 3 14 15 16
 
-:(before "End size_of(reagent r) Cases")
+:(before "End size_of(reagent r) Special-cases")
 if (!r.type->atom && r.type->left->atom && r.type->left->value == get(Type_ordinal, "array")) {
   if (!r.type->right) {
     raise << maybe(current_recipe_name()) << "'" << r.original_string << "' is an array of what?\n" << end();
@@ -112,7 +112,7 @@ if (!r.type->atom && r.type->left->atom && r.type->left->value == get(Type_ordin
 
 //: disable the size mismatch check for arrays since the destination array
 //: need not be initialized
-:(before "End size_mismatch(x) Cases")
+:(before "End size_mismatch(x) Special-cases")
 if (x.type && !x.type->atom && x.type->left->value == get(Type_ordinal, "array")) return false;
 
 //: arrays are disallowed inside containers unless their length is fixed in
@@ -133,7 +133,7 @@ container foo [
 
 //: disable the size mismatch check for 'merge' instructions since containers
 //: can contain arrays, and since we already do plenty of checking for them
-:(before "End size_mismatch(x) Cases")
+:(before "End size_mismatch(x) Special-cases")
 if (current_call().running_step_index < SIZE(get(Recipe, current_call().running_recipe).steps)
     && current_instruction().operation == MERGE) {
   return false;