summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'command.h')
-rw-r--r--command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.h b/command.h
index 3da5b77d..85626440 100644
--- a/command.h
+++ b/command.h
@@ -101,6 +101,8 @@ enum command_type { cm_for, cm_case, cm_while, cm_if, cm_simple, cm_select,
#define W_ASSNGLOBAL 0x2000000 /* word is a global assignment to declare (declare/typeset -g) */
#define W_NOBRACE 0x4000000 /* Don't perform brace expansion */
#define W_COMPLETE 0x8000000 /* word is being expanded for completion */
+#define W_CHKLOCAL 0x10000000 /* check for local vars on assignment */
+#define W_NOASSNTILDE 0x20000000 /* don't do tilde expansion like an assignment statement */
/* Flags for the `pflags' argument to param_expand() and various
parameter_brace_expand_xxx functions; also used for string_list_dollar_at */
@@ -352,6 +354,7 @@ typedef struct group_com {
typedef struct subshell_com {
int flags;
+ int line;
COMMAND *command;
} SUBSHELL_COM;