about summary refs log tree commit diff stats
path: root/022arithmetic.cc
diff options
context:
space:
mode:
Diffstat (limited to '022arithmetic.cc')
-rw-r--r--022arithmetic.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/022arithmetic.cc b/022arithmetic.cc
index 79a314bb..ce8cf1b9 100644
--- a/022arithmetic.cc
+++ b/022arithmetic.cc
@@ -79,7 +79,6 @@ case SUBTRACT: {
     break;
   }
   for (int i = 0;  i < SIZE(inst.ingredients);  ++i) {
-    if (is_raw(inst.ingredients.at(i))) continue;  // permit address offset computations in tests
     if (!is_mu_number(inst.ingredients.at(i))) {
       raise << maybe(get(Recipe, r).name) << "'subtract' requires number ingredients, but got '" << inst.ingredients.at(i).original_string << "'\n" << end();
       goto finish_checking_instruction;
@@ -104,10 +103,6 @@ case SUBTRACT: {
   products.at(0).push_back(result);
   break;
 }
-:(code)
-bool is_raw(const reagent& r) {
-  return has_property(r, "raw");
-}
 
 :(scenario subtract_literal)
 def main [