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:
parent
d687db71e7
commit
04ca945ecf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user