diff options
Diffstat (limited to 'Src/loop.c')
-rw-r--r-- | Src/loop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/loop.c b/Src/loop.c index 3a6296d45..0de963318 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -559,10 +559,10 @@ execcase(Estate state, int do_exec) save = (!(state->prog->flags & EF_HEAP) && !strcmp(pat, opat) && *spprog != dummy_patprog2); - pat2 = dupstring(pat); - untokenize(pat2); printprompt4(); - fprintf(xtrerr, "case %s (%s)\n", word, pat2); + fprintf(xtrerr, "case %s (", word); + quote_tokenized_output(pat, xtrerr); + fprintf(xtrerr, ")\n"); fflush(xtrerr); } state->pc += 2; |