From 5b18152b1690fd98ba6ea05ca4257e9ffcb58dc4 Mon Sep 17 00:00:00 2001 From: rneder Date: Thu, 16 Jan 2025 18:02:48 +0100 Subject: [PATCH] Macros return to initial directory upon error; prompt on --- lib_f90/do_wait_mod.f90 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib_f90/do_wait_mod.f90 b/lib_f90/do_wait_mod.f90 index b19d8735..b322810f 100644 --- a/lib_f90/do_wait_mod.f90 +++ b/lib_f90/do_wait_mod.f90 @@ -21,6 +21,7 @@ SUBROUTINE do_input (zeile, lp) USE lib_length USE param_mod USE precision_mod +use prompt_mod USE str_comp_mod ! USE class_macro_internal @@ -64,7 +65,8 @@ SUBROUTINE do_input (zeile, lp) lmakro = .false. lmakro_error = .false. ! Macro termination error off macro_level = 0 - CALL macro_close + CALL macro_close(-1) + prompt_status = PROMPT_ON endif ! line = '#' ! il = 1