From 2416a8654e3c1a4b74fcc0379dac5294670a1f46 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Tue, 26 Oct 2021 12:35:22 -0700 Subject: 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. --- sys/cmd/rc/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/cmd/rc/parse.c') 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, -- cgit v1.2.1