summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
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;