summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2018-02-09 06:34:34 +0000
committerToby Goodwin <toby@paccrat.org>2018-02-09 06:34:34 +0000
commit5966ab2ca2632c5bed9815def1add4859beececa (patch)
treeb4624389f9cca13cd30e6f95c60e70fad87871a8 /lex.c
parentd18aac739636fd9ae1f84fef8347f46216fb8d9c (diff)
wip
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c1
1 files changed, 1 insertions, 0 deletions
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;