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 | |
parent | 4e3f838269edf39e10bc051476dac11c4fe24eee (diff) | |
download | zsh-6533ae0719af7a0dee563ed3d74aaf3a565e337a.tar.gz zsh-6533ae0719af7a0dee563ed3d74aaf3a565e337a.tar.xz zsh-6533ae0719af7a0dee563ed3d74aaf3a565e337a.zip |
31559: Fix history line problem with aliases and comments
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/lex.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index fba3d5392..cab2fa469 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2013-07-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + * 31559: Src/lex.c: Fix problem with history lines for comments + that occur in the middle of an alias. + * Eric Cook: 31558: Completion/Command/Unix/_qemu: name of binary has changed. 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); |