feat: introduce int32 keyword

Refs: #15
This commit is contained in:
2026-06-24 15:27:29 +02:00
parent 318b3e8a65
commit 0baf896c3a
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -100,6 +100,7 @@ token_r lexer::next_token() {
{ "if", keyword_token::If },
{ "else", keyword_token::Else },
{ "while", keyword_token::While },
{ "int32", keyword_token::Int32 },
};
if (auto it = s_keywords.find(value); it != s_keywords.end()) return { location, it->second };