diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-07-22 20:58:57 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-07-22 20:58:57 +0100 |
commit | 6533ae0719af7a0dee563ed3d74aaf3a565e337a (patch) | |
tree | 026afee90aba4f181264a188dedd20979e677ba3 /Src/lex.c | |
parent | 4e3f838269edf39e10bc051476dac11c4fe24eee (diff) | |
download | zsh-6533ae0719af7a0dee563ed3d74aaf3a565e337a.tar.gz zsh-6533ae0719af7a0dee563ed3d74aaf3a565e337a.tar.xz zsh-6533ae0719af7a0dee563ed3d74aaf3a565e337a.zip |
31559: Fix history line problem with aliases and comments
Diffstat (limited to 'Src/lex.c')
-rw-r--r-- | Src/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/lex.c b/Src/lex.c index ac87e5ec8..4a9b11015 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -778,6 +778,7 @@ gettok(void) bptr = tokstr = (char *)hcalloc(bsiz = 32); add(c); } + ihwend(); while ((c = ingetc()) != '\n' && !lexstop) { hwaddc(c); addtoline(c); |