diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2017-04-23 17:06:26 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2017-04-23 17:06:26 +0100 |
commit | 68466f327e15579939ff359464c42b2b966a7825 (patch) | |
tree | e5444ba5e0398cfafa29a70ca4c43438a3169aea /Src | |
parent | 3c78f14d5cfe98cb567cced9cfe283cb890155ef (diff) | |
download | zsh-68466f327e15579939ff359464c42b2b966a7825.tar.gz zsh-68466f327e15579939ff359464c42b2b966a7825.tar.xz zsh-68466f327e15579939ff359464c42b2b966a7825.zip |
40995: Don't disable alias expansion when finding command substitution limits
This is needed in some unusual cases in order to identify the exit condition without encountering a parse error.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/lex.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Src/lex.c b/Src/lex.c index 59e9d1472..b2d9b3f42 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -2060,9 +2060,7 @@ skipcomm(void) int new_lexstop, new_lex_add_raw; int save_infor = infor; struct lexbufstate new_lexbuf; - int noalias = noaliases; - noaliases = 1; infor = 0; cmdpush(CS_CMDSUBST); SETPARBEGIN @@ -2189,7 +2187,6 @@ skipcomm(void) SETPAREND cmdpop(); infor = save_infor; - noaliases = noalias; return lexstop; #endif |