aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/lex.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-13 10:51:54 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-13 10:51:54 -0700
commitf2efbb46ef89c7c1693400f7209113c50c959f02 (patch)
tree1c44494a9260dc270aac0a5291a7952ab0e74514 /sys/cmd/rc/lex.c
parent0385c87c8434873bdb8b86d35700cdd61286b749 (diff)
Feat(rc): working(ish) version of rc shell
Removed compile commands
Diffstat (limited to 'sys/cmd/rc/lex.c')
-rw-r--r--sys/cmd/rc/lex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cmd/rc/lex.c b/sys/cmd/rc/lex.c
index 253d05a..b840fff 100644
--- a/sys/cmd/rc/lex.c
+++ b/sys/cmd/rc/lex.c
@@ -176,7 +176,8 @@ yylex(void)
{
int c, d = nextc();
char *w = tok;
- struct tree *t;
+ struct Tree *t;
+
yylval.tree = 0;
/*
* Embarassing sneakiness: if the last token read was a quoted or unquoted