diff options
author | Nicholas Noll <nnoll523@gmail.com> | 2021-10-26 12:35:22 -0700 |
---|---|---|
committer | Nicholas Noll <nnoll523@gmail.com> | 2021-10-26 12:35:22 -0700 |
commit | 2416a8654e3c1a4b74fcc0379dac5294670a1f46 (patch) | |
tree | eb63703a92b035752674b9ab97a310fe58b2862a /sys/cmd/rc/parse.c | |
parent | 47e1e78da8eba4d755179d61a16f2c7920d2da39 (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/parse.c')
-rw-r--r-- | sys/cmd/rc/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cmd/rc/parse.c b/sys/cmd/rc/parse.c index fa3e165..1b29d41 100644 --- a/sys/cmd/rc/parse.c +++ b/sys/cmd/rc/parse.c @@ -632,7 +632,7 @@ static const yytype_int8 yydefact[] = 26, 0, 0, 0, 0, 26, 26, 0, 22, 50, 0, 0, 0, 69, 26, 0, 0, 0, 24, 26, 26, 26, 4, 27, 41, 48, 0, 26, 72, 72, - 0, 34, 35, 58, 57, 59, 60, 61, 62, 63, + 0, 34, 35, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 46, 23, 44, 45, 51, 54, 55, 0, 0, 12, 26, 6, 56, 1, 3, 24, 28, 5, 33, 32, 72, 72, 72, 10, 11, 43, 42, |