diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-03-21 02:25:52 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-03-21 02:25:52 -0700 |
commit | acc4792d2f7c787aad064876a1eb2d00bdf076b2 (patch) | |
tree | 22aaf0d8ff820082d66008311607e639c2d48989 /031address.cc | |
parent | dad3bedd1ca78162f87a235c10b036a06492a5f5 (diff) | |
download | mu-acc4792d2f7c787aad064876a1eb2d00bdf076b2.tar.gz |
2803
Show more thorough information about instructions in the trace, but keep the original form in error messages.
Diffstat (limited to '031address.cc')
-rw-r--r-- | 031address.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/031address.cc b/031address.cc index 0bbe8ab8..16e29dbd 100644 --- a/031address.cc +++ b/031address.cc @@ -25,7 +25,7 @@ def main [ :(before "End Preprocess write_memory(x)") canonize(x); if (x.value == 0) { - raise << "can't write to location 0 in '" << to_string(current_instruction()) << "'\n" << end(); + raise << "can't write to location 0 in '" << to_original_string(current_instruction()) << "'\n" << end(); return; } @@ -189,7 +189,7 @@ def main [ 2:number <- copy 34 3:number <- copy *1:address:number ] -+parse: ingredient: 1: ("address" "number"), {"lookup": ()} ++parse: ingredient: {1: ("address" "number"), "lookup": ()} +mem: storing 34 in location 3 :(before "End Parsing reagent") |