about summary refs log tree commit diff stats
path: root/cpp/027debug.cc
diff options
context:
space:
mode:
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;
+}