mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
34220: new $(...) handling needs to back up over alias expansion
This commit is contained in:
parent
81ad9ed766
commit
3b32abafdb
2 changed files with 9 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
2015-01-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2015-01-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
|
* 34220: Src/input.c: new $(...) parsing didn't back up over
|
||||||
|
alias expansions.
|
||||||
|
|
||||||
* unposted: Src/context.c: update copyright.
|
* unposted: Src/context.c: update copyright.
|
||||||
|
|
||||||
* 34195: Thomas Mitterfellner: Completion/Linux/Command/_qdbus:
|
* 34195: Thomas Mitterfellner: Completion/Linux/Command/_qdbus:
|
||||||
|
|
|
||||||
|
|
@ -537,6 +537,12 @@ inpush(char *str, int flags, Alias inalias)
|
||||||
static void
|
static void
|
||||||
inpoptop(void)
|
inpoptop(void)
|
||||||
{
|
{
|
||||||
|
if (!lexstop) {
|
||||||
|
inbufflags &= ~INP_ALCONT;
|
||||||
|
while (inbufptr > inbuf)
|
||||||
|
inungetc(inbufptr[-1]);
|
||||||
|
}
|
||||||
|
|
||||||
if (inbuf && (inbufflags & INP_FREE))
|
if (inbuf && (inbufflags & INP_FREE))
|
||||||
free(inbuf);
|
free(inbuf);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue