From 5c20d687c495f2cb3f3a390d04854dcceb2ef74e Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Thu, 21 Oct 2021 11:17:15 -0700 Subject: feat(rc): expanded tree printing --- sys/cmd/rc/rc.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys/cmd/rc/rc.h') 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]; -- cgit v1.2.1