about summary refs log tree commit diff stats
path: root/047check_type_by_name.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-26 13:04:55 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-26 13:04:55 -0800
commit1b76245c6326c1d60494e102ed0141c7927a640f (patch)
tree98f3e41dbd6afffb4b5e98756591b652947182d3 /047check_type_by_name.cc
parentb436291f403d5ca1914c58fc995949275a9fab44 (diff)
downloadmu-1b76245c6326c1d60494e102ed0141c7927a640f.tar.gz
2712
Diffstat (limited to '047check_type_by_name.cc')
-rw-r--r--047check_type_by_name.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/047check_type_by_name.cc b/047check_type_by_name.cc
index 5d63ca3d..1cb6e032 100644
--- a/047check_type_by_name.cc
+++ b/047check_type_by_name.cc
@@ -50,16 +50,16 @@ void check_type(map<string, type_tree*>& type, const reagent& x, const recipe_or
     put(type, x.name, x.type);
   }
   if (!types_strictly_match(get(type, x.name), x.type)) {
-    raise_error << maybe(get(Recipe, r).name) << x.name << " used with multiple types\n" << end();
+    raise << maybe(get(Recipe, r).name) << x.name << " used with multiple types\n" << end();
     return;
   }
   if (get(type, x.name)->name == "array") {
     if (!get(type, x.name)->right) {
-      raise_error << maybe(get(Recipe, r).name) << x.name << " can't be just an array. What is it an array of?\n" << end();
+      raise << maybe(get(Recipe, r).name) << x.name << " can't be just an array. What is it an array of?\n" << end();
       return;
     }
     if (!get(type, x.name)->right->right) {
-      raise_error << get(Recipe, r).name << " can't determine the size of array variable " << x.name << ". Either allocate it separately and make the type of " << x.name << " address:shared:..., or specify the length of the array in the type of " << x.name << ".\n" << end();
+      raise << get(Recipe, r).name << " can't determine the size of array variable " << x.name << ". Either allocate it separately and make the type of " << x.name << " address:shared:..., or specify the length of the array in the type of " << x.name << ".\n" << end();
       return;
     }
   }