diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-11-07 09:10:48 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-11-07 09:10:48 -0800 |
commit | 1211a3ab30eb5cfbf1cb5b910eefb8d64dcb2107 (patch) | |
tree | 5d655f51604d85c8568e19c05dd129ad953c6511 /032array.cc | |
parent | 133a4614365bbcc74602284beedc7b274fcf3e24 (diff) | |
download | mu-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.cc | 6 |
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; |