diff options
Diffstat (limited to '052tangle.cc')
-rw-r--r-- | 052tangle.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/052tangle.cc b/052tangle.cc index 5e38e129..e4548f58 100644 --- a/052tangle.cc +++ b/052tangle.cc @@ -40,7 +40,7 @@ else if (command == "before") { if (is_waypoint(label)) Before_fragments[label].steps.insert(Before_fragments[label].steps.end(), tmp.steps.begin(), tmp.steps.end()); else - raise_error << "can't tangle before label " << label << '\n' << end(); + raise << "can't tangle before label " << label << '\n' << end(); } else if (command == "after") { string label = next_word(in); @@ -49,7 +49,7 @@ else if (command == "after") { if (is_waypoint(label)) After_fragments[label].steps.insert(After_fragments[label].steps.begin(), tmp.steps.begin(), tmp.steps.end()); else - raise_error << "can't tangle after label " << label << '\n' << end(); + raise << "can't tangle after label " << label << '\n' << end(); } //: after all recipes are loaded, insert fragments at appropriate labels. @@ -143,11 +143,11 @@ void check_insert_fragments(unused recipe_ordinal) { Transform_check_insert_fragments_Ran = true; for (map<string, recipe>::iterator p = Before_fragments.begin(); p != Before_fragments.end(); ++p) { if (!contains_key(Fragments_used, p->first)) - raise_error << "could not locate insert before " << p->first << '\n' << end(); + raise << "could not locate insert before " << p->first << '\n' << end(); } for (map<string, recipe>::iterator p = After_fragments.begin(); p != After_fragments.end(); ++p) { if (!contains_key(Fragments_used, p->first)) - raise_error << "could not locate insert after " << p->first << '\n' << end(); + raise << "could not locate insert after " << p->first << '\n' << end(); } } |