From 04ca945ecf0598e069caadb35a3c3089187a8186 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 24 Jun 2021 14:51:08 -0500 Subject: [PATCH] Address #711 - don't persist `(dyn :exit)` --- src/boot/boot.janet | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 9704ae0b..035c5f24 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -2163,7 +2163,7 @@ (if macrof (debug/stacktrace macrof msg) (eprint msg)) - (when ec + (when ec (print-line-col where line col) (eprin "\e[0m")) (eflush)) @@ -2335,6 +2335,7 @@ (when (= (p-status p) :error) (parse-err p where))) + (put env :exit nil) (in env :exit-value env)) (defn quit