aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc/lex.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-11-16 14:46:55 -0800
committerNicholas Noll <nbnoll@eml.cc>2021-11-16 14:46:55 -0800
commite923adef5df8077259ed9973a4bffb0e08999fbe (patch)
tree60b7bf91db2d6eb54e3777f395419d23369842b6 /src/cmd/rc/lex.c
parent29138fff8643194ec49cb79304d2a878d46c378b (diff)
chore: integrated redir code
Diffstat (limited to 'src/cmd/rc/lex.c')
-rw-r--r--src/cmd/rc/lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/rc/lex.c b/src/cmd/rc/lex.c
index 0eb023c..a22dc7d 100644
--- a/src/cmd/rc/lex.c
+++ b/src/cmd/rc/lex.c
@@ -529,6 +529,8 @@ yylex(void)
*w = 0;
node = token(Tword, lexer.buf);
node->quoted = 1;
+
+ yylval.tree = node;
return node->type;
default: