1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

34220: new $(...) handling needs to back up over alias expansion

This commit is contained in:
Peter Stephenson 2015-01-10 20:28:57 +00:00
parent 81ad9ed766
commit 3b32abafdb
2 changed files with 9 additions and 0 deletions

View file

@ -537,6 +537,12 @@ inpush(char *str, int flags, Alias inalias)
static void
inpoptop(void)
{
if (!lexstop) {
inbufflags &= ~INP_ALCONT;
while (inbufptr > inbuf)
inungetc(inbufptr[-1]);
}
if (inbuf && (inbufflags & INP_FREE))
free(inbuf);