about summary refs log tree commit diff stats
path: root/cpp/027debug.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-03 18:40:44 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-03 18:40:44 -0700
commita11d9c4a3375906bf8ae1117c6043776d2f08d17 (patch)
tree8667dc63b54aaf0853038f1e880e3ed314139fde /cpp/027debug.cc
parent249a5672e41f603c8d705f69f2939a25a45685ff (diff)
downloadmu-a11d9c4a3375906bf8ae1117c6043776d2f08d17.tar.gz
1247
Diffstat (limited to 'cpp/027debug.cc')
-rw-r--r--cpp/027debug.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/027debug.cc b/cpp/027debug.cc
index 90ef9e49..d5de1072 100644
--- a/cpp/027debug.cc
+++ b/cpp/027debug.cc
@@ -40,3 +40,13 @@ case _STOP_TRACING: {
   Trace_stream->dump_layer = "";
   break;
 }
+
+:(before "End Primitive Recipe Declarations")
+_EXIT,
+:(before "End Primitive Recipe Numbers")
+Recipe_number["$exit"] = _EXIT;
+:(before "End Primitive Recipe Implementations")
+case _EXIT: {
+  exit(0);
+  break;
+}