diff options
| author | Chet Ramey <chet.ramey@case.edu> | 2018-11-23 15:32:57 -0500 |
|---|---|---|
| committer | Chet Ramey <chet.ramey@case.edu> | 2018-11-23 15:32:57 -0500 |
| commit | 2ae59c1134a75d5778997b7202b15b0586283042 (patch) | |
| tree | 6a0fa496d41b222f5f69e3640d84932fb7a84778 /arrayfunc.h | |
| parent | 2f5dfe5a18b4670eb4cea32c1c76295eb70a8865 (diff) | |
| download | bash-5.0-beta2.tar.gz | |
bash-5.0-beta2 releasebash-5.0-beta2
Diffstat (limited to 'arrayfunc.h')
| -rw-r--r-- | arrayfunc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arrayfunc.h b/arrayfunc.h index 199c8127..cd51ee07 100644 --- a/arrayfunc.h +++ b/arrayfunc.h @@ -40,6 +40,10 @@ extern int array_expand_once; #define AV_ASSIGNRHS 0x010 /* no splitting, special case ${a[@]} */ #define AV_NOEXPAND 0x020 /* don't run assoc subscripts through word expansion */ +/* Flags for valid_array_reference. Value 1 is reserved for skipsubscript() */ +#define VA_NOEXPAND 0x001 +#define VA_ONEWORD 0x002 + extern SHELL_VAR *convert_var_to_array __P((SHELL_VAR *)); extern SHELL_VAR *convert_var_to_assoc __P((SHELL_VAR *)); @@ -83,6 +87,8 @@ extern SHELL_VAR *array_variable_part __P((const char *, int, char **, int *)); #define AV_USEIND 0 #define AV_ASSIGNRHS 0 +#define VA_ONEWORD 0 + #endif #endif /* !_ARRAYFUNC_H_ */ |
