aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/main.c
diff options
context:
space:
mode:
authorNicholas Noll <nnoll523@gmail.com>2021-10-26 12:35:22 -0700
committerNicholas Noll <nnoll523@gmail.com>2021-10-26 12:35:22 -0700
commit2416a8654e3c1a4b74fcc0379dac5294670a1f46 (patch)
treeeb63703a92b035752674b9ab97a310fe58b2862a /sys/cmd/rc/main.c
parent47e1e78da8eba4d755179d61a16f2c7920d2da39 (diff)
feat(rc): keywords now recognized. for and while loop
Prototypes for loops sketched. This required recognizing keywords and returning from yylex. Debugging/testing will be required.
Diffstat (limited to 'sys/cmd/rc/main.c')
-rw-r--r--sys/cmd/rc/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cmd/rc/main.c b/sys/cmd/rc/main.c
index 9e35a87..12f0859 100644
--- a/sys/cmd/rc/main.c
+++ b/sys/cmd/rc/main.c
@@ -56,6 +56,7 @@ main(int argc, char *argv[])
initenv();
initpath();
+ initkeywords();
initshell();
// enablevi();