From 5966ab2ca2632c5bed9815def1add4859beececa Mon Sep 17 00:00:00 2001 From: Toby Goodwin Date: Fri, 9 Feb 2018 06:34:34 +0000 Subject: wip --- lex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lex.c') diff --git a/lex.c b/lex.c index 195e8f6..58c3df5 100644 --- a/lex.c +++ b/lex.c @@ -159,6 +159,7 @@ top: while ((c = gchar()) == ' ' || c == '\t') if (*buf == 'f' && buf[1] == 'n') return FN; if (*buf == 'i' && buf[1] == 'n') return IN; } + if (streq(buf, "not")) return NOT; if (streq(buf, "for")) return FOR; if (streq(buf, "else")) return ELSE; if (streq(buf, "switch")) return SWITCH; -- cgit v1.2.3