From 68466f327e15579939ff359464c42b2b966a7825 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 23 Apr 2017 17:06:26 +0100 Subject: 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. --- Src/lex.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Src') 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 -- cgit 1.4.1