summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-09 16:13:32 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-09 16:15:01 -0700
commit2d698b6e42d8dca191ac795ef5dba3bf62496eec (patch)
treeac5e0b67043c50f49160e9fe407435706cf30444 /command.h
parentf1250933e4a2ac09a3d0b25b3877068e12f44da5 (diff)
downloadvyatta-bash-2d698b6e42d8dca191ac795ef5dba3bf62496eec.tar.gz
vyatta-bash-2d698b6e42d8dca191ac795ef5dba3bf62496eec.zip
Integrate bash 3.2 version
This is merge of current Debian stable (Lenny) version of Bash with Vyatta changes.
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 &' */