fixes for posix-mode alias expansion in command substitutions; fix for multiple function definitions with here-documents inside command substitutions

This commit is contained in:
Chet Ramey
2022-10-18 15:27:25 -04:00
parent 055a4552c9
commit 5d423d8ab3
15 changed files with 4400 additions and 13 deletions
+1
View File
@@ -114,6 +114,7 @@ enum command_type { cm_for, cm_case, cm_while, cm_if, cm_simple, cm_select,
#define PF_COMPLETE 0x10 /* same as W_COMPLETE, sets SX_COMPLETE */
#define PF_EXPANDRHS 0x20 /* same as W_EXPANDRHS */
#define PF_ALLINDS 0x40 /* array, act as if [@] was supplied */
#define PF_BACKQUOTE 0x80 /* differentiate `` from $() for command_substitute */
/* Possible values for subshell_environment */
#define SUBSHELL_ASYNC 0x01 /* subshell caused by `command &' */