about summary refs log tree commit diff stats
path: root/026assert.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-10 08:34:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-10 08:55:18 -0700
commitdc1323e936fb79823767f85529be15e0456b3169 (patch)
treea3313c1c41ffd67a506f92dabc77c7867a8c8dd9 /026assert.cc
parent3f367cb9466131f95c11c24df3aac7057143587b (diff)
downloadmu-dc1323e936fb79823767f85529be15e0456b3169.tar.gz
1323 - keyboard supports backspace and newline
Lots mixed into this commit:
  some off-by-one errors in display.cc
  a new transform to translate jump labels that I'd somehow never gotten around to supporting
Diffstat (limited to '026assert.cc')
-rw-r--r--026assert.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/026assert.cc b/026assert.cc
index 277ade39..7217d5c2 100644
--- a/026assert.cc
+++ b/026assert.cc
@@ -15,7 +15,9 @@ case ASSERT: {
   assert(ingredients.at(0).size() == 1);  // scalar
   if (!ingredients.at(0).at(0)) {
     assert(isa_literal(current_instruction().ingredients.at(1)));
-    raise << current_instruction().ingredients.at(1).name << '\n';
+//?     tb_shutdown(); //? 1
+    raise << current_instruction().ingredients.at(1).name << '\n' << die();
+//?     exit(0); //? 1
   }
   break;
 }