diff options
-rw-r--r-- | 021check_instruction.cc | 4 | ||||
-rw-r--r-- | 022arithmetic.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/021check_instruction.cc b/021check_instruction.cc index 717f1ca6..58fd395f 100644 --- a/021check_instruction.cc +++ b/021check_instruction.cc @@ -136,10 +136,6 @@ bool types_strictly_match(type_tree* lhs, type_tree* rhs) { return types_strictly_match(lhs->left, rhs->left) && types_strictly_match(lhs->right, rhs->right); } -bool is_raw(const reagent& r) { - return has_property(r, "raw"); -} - bool is_unsafe(const reagent& r) { return has_property(r, "unsafe"); } diff --git a/022arithmetic.cc b/022arithmetic.cc index 5181ed9d..dc191efa 100644 --- a/022arithmetic.cc +++ b/022arithmetic.cc @@ -104,6 +104,10 @@ case SUBTRACT: { products.at(0).push_back(result); break; } +:(code) +bool is_raw(const reagent& r) { + return has_property(r, "raw"); +} :(scenario subtract_literal) recipe main [ |