'not' is now a keyword

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-13 18:51:45 +01:00
parent 51ba2c49d6
commit 8f1f6160e3

View file

@ -1043,6 +1043,7 @@ int lex_do(lex_file *lex)
!strcmp(v, "else") ||
!strcmp(v, "local") ||
!strcmp(v, "return") ||
!strcmp(v, "not") ||
!strcmp(v, "const"))
{
lex->tok.ttype = TOKEN_KEYWORD;