diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-10-21 11:17:15 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-10-21 11:17:15 -0700 |
commit | 5c20d687c495f2cb3f3a390d04854dcceb2ef74e (patch) | |
tree | d32a8c4e419856d4028dd7e12c0d4f2379a7113e /sys/cmd/rc/rc.h | |
parent | 89e6da0a7cc2cd8551ae31ac623232a0ccce905d (diff) |
feat(rc): expanded tree printing
Diffstat (limited to 'sys/cmd/rc/rc.h')
-rw-r--r-- | sys/cmd/rc/rc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/cmd/rc/rc.h b/sys/cmd/rc/rc.h index d3fc7bf..13444e6 100644 --- a/sys/cmd/rc/rc.h +++ b/sys/cmd/rc/rc.h @@ -29,7 +29,7 @@ enum Rwrite, Rread, Rhere, - Rdup, + Rdupfd, Ropen, Rclose, Rrdwr @@ -39,7 +39,10 @@ struct Tree { int type; union{ - char *str; // Tword + struct { + ushort quoted; + char *str; // Tword + }; struct { ushort type; // Tpipe, Tredir, Tdup int fd[2]; |