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/lex.c | |
| parent | 40994: unmeta_one() need not count Meta (diff) | |
| download | zsh-68466f327e15579939ff359464c42b2b966a7825.tar zsh-68466f327e15579939ff359464c42b2b966a7825.tar.gz zsh-68466f327e15579939ff359464c42b2b966a7825.tar.bz2 zsh-68466f327e15579939ff359464c42b2b966a7825.tar.lz zsh-68466f327e15579939ff359464c42b2b966a7825.tar.xz zsh-68466f327e15579939ff359464c42b2b966a7825.tar.zst 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/lex.c')
| -rw-r--r-- | Src/lex.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 |
