diff options
| author | Peter Stephenson <pws@zsh.org> | 2018-01-08 17:25:04 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2018-01-08 17:26:33 +0000 |
| commit | 36fcaeb16799738631d4519e74d2e6398478776d (patch) | |
| tree | 89fbcdf5ab344050e575cc5000ec7df68435e453 /Src/lex.c | |
| parent | 42231: new completion functions for simple utilities belonging to the 'Darwin... (diff) | |
| download | zsh-36fcaeb16799738631d4519e74d2e6398478776d.tar zsh-36fcaeb16799738631d4519e74d2e6398478776d.tar.gz zsh-36fcaeb16799738631d4519e74d2e6398478776d.tar.bz2 zsh-36fcaeb16799738631d4519e74d2e6398478776d.tar.lz zsh-36fcaeb16799738631d4519e74d2e6398478776d.tar.xz zsh-36fcaeb16799738631d4519e74d2e6398478776d.tar.zst zsh-36fcaeb16799738631d4519e74d2e6398478776d.zip | |
42245: Abort last word on interactve comment.
Last recorded word should be the previous one.
Diffstat (limited to 'Src/lex.c')
| -rw-r--r-- | Src/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -677,7 +677,7 @@ gettok(void) (char *)hcalloc(lexbuf.siz = LEX_HEAP_SIZE); add(c); } - hwend(); + hwabort(); while ((c = ingetc()) != '\n' && !lexstop) { hwaddc(c); addtoline(c); |
