diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-07-25 00:02:20 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-07-25 00:02:20 -0700 |
commit | 35064671ef90ec6e35eafd9b15363058bf4f23f4 (patch) | |
tree | 3a0b4b02cbdd1b304deb52d1673083091a1ed12d /041jump_label.cc | |
parent | a17fd65ca0124f544bd4de844f1bfe2d91b46ae6 (diff) | |
download | mu-35064671ef90ec6e35eafd9b15363058bf4f23f4.tar.gz |
1844 - explicitly end each trace line
More verbose, but it saves trouble when debugging; there's never something you thought should be traced but just never came out the other end. Also got rid of fatal errors entirely. Everything's a warning now, and code after a warning isn't guaranteed to run.
Diffstat (limited to '041jump_label.cc')
-rw-r--r-- | 041jump_label.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/041jump_label.cc b/041jump_label.cc index dca2e37a..2527e813 100644 --- a/041jump_label.cc +++ b/041jump_label.cc @@ -54,7 +54,7 @@ void replace_offset(reagent& x, /*const*/ map<string, long long int>& offset, co if (is_integer(x.name)) return; // non-labels will be handled like other number operands //? cerr << "DDD " << x.to_string() << '\n'; //? 1 if (offset.find(x.name) == offset.end()) - raise << "can't find label " << x.name << " in routine " << Recipe[r].name << '\n'; + raise << "can't find label " << x.name << " in routine " << Recipe[r].name << '\n' << end(); x.set_value(offset[x.name]-current_offset); } |