1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 17:27:18 +00:00

Address #711 - don't persist (dyn :exit)

This commit is contained in:
Calvin Rose 2021-06-24 14:51:08 -05:00
parent d687db71e7
commit 04ca945ecf

View File

@ -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