aboutsummaryrefslogtreecommitdiffstats
path: root/command.h
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2006-10-10 14:15:34 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:58 +0000
commit0628567a28f3510f506ae46cb9b24b73a6d2dc5d (patch)
treeda84934c41272cdc655694846c15c1c5db807445 /command.h
parent95732b497d12c98613bb3c5db16b61f377501a59 (diff)
downloadandroid_external_bash-0628567a28f3510f506ae46cb9b24b73a6d2dc5d.tar.gz
android_external_bash-0628567a28f3510f506ae46cb9b24b73a6d2dc5d.tar.bz2
android_external_bash-0628567a28f3510f506ae46cb9b24b73a6d2dc5d.zip
Imported from ../bash-3.2.tar.gz.
Diffstat (limited to 'command.h')
-rw-r--r--command.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/command.h b/command.h
index a5bac0b..75e4990 100644
--- a/command.h
+++ b/command.h
@@ -67,26 +67,27 @@ enum command_type { cm_for, cm_case, cm_while, cm_if, cm_simple, cm_select,
cm_arith, cm_cond, cm_arith_for, cm_subshell };
/* Possible values for the `flags' field of a WORD_DESC. */
-#define W_HASDOLLAR 0x00001 /* Dollar sign present. */
-#define W_QUOTED 0x00002 /* Some form of quote character is present. */
-#define W_ASSIGNMENT 0x00004 /* This word is a variable assignment. */
-#define W_GLOBEXP 0x00008 /* This word is the result of a glob expansion. */
-#define W_NOSPLIT 0x00010 /* Do not perform word splitting on this word. */
-#define W_NOGLOB 0x00020 /* Do not perform globbing on this word. */
-#define W_NOSPLIT2 0x00040 /* Don't split word except for $@ expansion. */
-#define W_TILDEEXP 0x00080 /* Tilde expand this assignment word */
-#define W_DOLLARAT 0x00100 /* $@ and its special handling */
-#define W_DOLLARSTAR 0x00200 /* $* and its special handling */
-#define W_NOCOMSUB 0x00400 /* Don't perform command substitution on this word */
-#define W_ASSIGNRHS 0x00800 /* Word is rhs of an assignment statement */
-#define W_NOTILDE 0x01000 /* Don't perform tilde expansion on this word */
-#define W_ITILDE 0x02000 /* Internal flag for word expansion */
-#define W_NOEXPAND 0x04000 /* Don't expand at all -- do quote removal */
-#define W_COMPASSIGN 0x08000 /* Compound assignment */
-#define W_ASSNBLTIN 0x10000 /* word is a builtin command that takes assignments */
-#define W_ASSIGNARG 0x20000 /* word is assignment argument to command */
-#define W_HASQUOTEDNULL 0x40000 /* word contains a quoted null character */
-#define W_DQUOTE 0x80000 /* word should be treated as if double-quoted */
+#define W_HASDOLLAR 0x000001 /* Dollar sign present. */
+#define W_QUOTED 0x000002 /* Some form of quote character is present. */
+#define W_ASSIGNMENT 0x000004 /* This word is a variable assignment. */
+#define W_GLOBEXP 0x000008 /* This word is the result of a glob expansion. */
+#define W_NOSPLIT 0x000010 /* Do not perform word splitting on this word. */
+#define W_NOGLOB 0x000020 /* Do not perform globbing on this word. */
+#define W_NOSPLIT2 0x000040 /* Don't split word except for $@ expansion. */
+#define W_TILDEEXP 0x000080 /* Tilde expand this assignment word */
+#define W_DOLLARAT 0x000100 /* $@ and its special handling */
+#define W_DOLLARSTAR 0x000200 /* $* and its special handling */
+#define W_NOCOMSUB 0x000400 /* Don't perform command substitution on this word */
+#define W_ASSIGNRHS 0x000800 /* Word is rhs of an assignment statement */
+#define W_NOTILDE 0x001000 /* Don't perform tilde expansion on this word */
+#define W_ITILDE 0x002000 /* Internal flag for word expansion */
+#define W_NOEXPAND 0x004000 /* Don't expand at all -- do quote removal */
+#define W_COMPASSIGN 0x008000 /* Compound assignment */
+#define W_ASSNBLTIN 0x010000 /* word is a builtin command that takes assignments */
+#define W_ASSIGNARG 0x020000 /* word is assignment argument to command */
+#define W_HASQUOTEDNULL 0x040000 /* word contains a quoted null character */
+#define W_DQUOTE 0x080000 /* word should be treated as if double-quoted */
+#define W_NOPROCSUB 0x100000 /* don't perform process substitution */
/* Possible values for subshell_environment */
#define SUBSHELL_ASYNC 0x01 /* subshell caused by `command &' */