diff --git a/src/headers/lexer.h b/src/headers/lexer.h index 0ceef59..aa6fd50 100644 --- a/src/headers/lexer.h +++ b/src/headers/lexer.h @@ -34,7 +34,7 @@ typedef enum { TOKEN_TANGAZA_AMAKURU, TOKEN_INJIZA_AMAKURU, TOKEN_KOMEZA, TOKEN_HAGARARA, TOKEN_UBWOKO, TOKEN_ERROR, TOKEN_KIN_HAGARARA, TOKEN_REKA, TOKEN_SOMA_INYANDIKO, TOKEN_ANDIKA_INYANDIKO, TOKEN_KUVUGURURA_INYANDIKO, - TOKEN_SISITEMU, + TOKEN_SISITEMU, TOKEN_IJAMBO, TOKEN_EOF } TokenType; diff --git a/src/lexer.c b/src/lexer.c index 0f37457..9d6284b 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -67,6 +67,7 @@ Token scanIdentifierOrKeyword() { if (strcmp(lexeme, "nanone_niba") == 0) return makeTokenWithLexeme(TOKEN_NANONE_NIBA, lexeme); if (strcmp(lexeme, "umubare") == 0) return makeTokenWithLexeme(TOKEN_UMUBARE, lexeme); if (strcmp(lexeme, "umubare_wibice") == 0) return makeTokenWithLexeme(TOKEN_UMUBARE_WIBICE, lexeme); + if (strcmp(lexeme, "ijambo") == 0) return makeTokenWithLexeme(TOKEN_IJAMBO, lexeme); if (strcmp(lexeme, "niba_byanze") == 0) return makeTokenWithLexeme(TOKEN_NIBA_BYANZE, lexeme); if (strcmp(lexeme, "subiramo") == 0) return makeTokenWithLexeme(TOKEN_SUBIRAMO, lexeme); if (strcmp(lexeme, "tanga") == 0) return makeTokenWithLexeme(TOKEN_TANGA, lexeme);