Bash-5.0 patch 2: fix expansion of aliases whose value ends with an unquoted tab

This commit is contained in:
Chet Ramey
2019-01-18 15:13:57 -05:00
parent 4d2e315490
commit ddf3f643cb
4 changed files with 10 additions and 3 deletions
+1
View File
@@ -47,6 +47,7 @@
#define PST_REPARSE 0x040000 /* re-parsing in parse_string_to_word_list */
#define PST_REDIRLIST 0x080000 /* parsing a list of redirections preceding a simple command name */
#define PST_COMMENT 0x100000 /* parsing a shell comment; used by aliases */
#define PST_ENDALIAS 0x200000 /* just finished expanding and consuming an alias */
/* Definition of the delimiter stack. Needed by parse.y and bashhist.c. */
struct dstack {