about summary refs log tree commit diff stats
path: root/022arithmetic.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-01-20 14:52:40 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-01-20 14:52:40 -0800
commit1102f7d7852603a1f6fc983d7027c600161428b4 (patch)
tree6c5237b5720d5bd26a3c53a4b766d7332f5ccdce /022arithmetic.cc
parent58eb6ee2353c069806734abdbecc85df96db6ae4 (diff)
downloadmu-1102f7d7852603a1f6fc983d7027c600161428b4.tar.gz
2578
Diffstat (limited to '022arithmetic.cc')
-rw-r--r--022arithmetic.cc4
1 files changed, 4 insertions, 0 deletions
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 [