fix(lexer): typo on export

This commit is contained in:
Matteo Flebus 2026-01-30 19:14:01 +01:00
parent 115377edfe
commit 1367598047

View file

@ -73,7 +73,7 @@ static void set_token_keyword(struct token *tok, char *begin, ssize_t size)
else if (strncmp(begin, "elif", size) == 0 && size == 4)
tok->type = TOKEN_ELIF;
else if (strncmp(begin, "export", size) == 0 && size == 6)
tok->type = TOKEN_ELIF;
tok->type = TOKEN_EXPORT;
// no keywords found.
if (tok->type == TOKEN_NULL)