diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-22 13:14:27 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-22 13:14:27 +0000 |
commit | fc09801d93a5388b9a7aaba3f48c41f9fbe9cab8 (patch) | |
tree | 2e7b79605e529bf630ed7abecdb724bed728c334 /Src/hist.c | |
parent | a8ed82946e42ee1b98d05748a684c8522cfab40b (diff) | |
download | zsh-fc09801d93a5388b9a7aaba3f48c41f9fbe9cab8.tar.gz zsh-fc09801d93a5388b9a7aaba3f48c41f9fbe9cab8.tar.xz zsh-fc09801d93a5388b9a7aaba3f48c41f9fbe9cab8.zip |
zsh-workers/7983
Diffstat (limited to 'Src/hist.c')
-rw-r--r-- | Src/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/hist.c b/Src/hist.c index fcd5d877a..089c9f0bd 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -642,7 +642,7 @@ ihungetc(int c) { int doit = 1; - while (!lexstop) { + while (!lexstop && !errflag) { if (hptr[-1] != (char) c && stophist < 4 && hptr > chline + 1 && hptr[-1] == '\n' && hptr[-2] == '\\') hungetc('\n'), hungetc('\\'); |