summaryrefslogtreecommitdiff
path: root/bin/ksh/tree.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-08-19 20:09:10 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-08-19 20:09:10 +0000
commite7e852656e3beb5f62f8c146ba24004cfda2cf88 (patch)
treeb312bc3e985b3f1cf19691c779e7870219573b6e /bin/ksh/tree.h
parent1e9e82f84b5de8bcd110c41c780f476397c385d9 (diff)
update to pdksh-5.2.8
Diffstat (limited to 'bin/ksh/tree.h')
-rw-r--r--bin/ksh/tree.h9
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 /* ! */