diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-08-19 20:09:10 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-08-19 20:09:10 +0000 |
commit | e7e852656e3beb5f62f8c146ba24004cfda2cf88 (patch) | |
tree | b312bc3e985b3f1cf19691c779e7870219573b6e /bin/ksh/tree.h | |
parent | 1e9e82f84b5de8bcd110c41c780f476397c385d9 (diff) |
update to pdksh-5.2.8
Diffstat (limited to 'bin/ksh/tree.h')
-rw-r--r-- | bin/ksh/tree.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/ksh/tree.h b/bin/ksh/tree.h index 29be89ccc4a..863061dd91d 100644 --- a/bin/ksh/tree.h +++ b/bin/ksh/tree.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tree.h,v 1.1 1996/08/14 06:19:12 downsj Exp $ */ +/* $OpenBSD: tree.h,v 1.2 1996/08/19 20:09:02 downsj Exp $ */ /* * command trees for compile/execute @@ -15,7 +15,10 @@ */ struct op { short type; /* operation type, see below */ - short evalflags; /* eval() flags for arg expansion */ + union { /* WARNING: newtp(), tcopy() use evalflags = 0 to clear union */ + short evalflags; /* TCOM: arg expansion eval() flags */ + short ksh_func; /* TFUNC: function x (vs x()) */ + } u; char **args; /* arguments to a command */ char **vars; /* variable assignments */ struct ioword **ioact; /* IO actions (eg, < > >>) */ @@ -31,7 +34,7 @@ struct op { #define TCOM 1 /* command */ #define TPAREN 2 /* (c-list) */ #define TPIPE 3 /* a | b */ -#define TLIST 4 /* a [&;] b */ +#define TLIST 4 /* a ; b */ #define TOR 5 /* || */ #define TAND 6 /* && */ #define TBANG 7 /* ! */ |