Add comparison operators

Signed-off-by: CHatingPython <chatingpython@gmail.com>
This commit is contained in:
CHatingPython
2026-05-30 13:09:39 +02:00
committed by CHatingPython
parent f4efb53531
commit 737f637a38
6 changed files with 46 additions and 2 deletions
+6
View File
@@ -127,6 +127,12 @@ token_handle<> lexer::next_token() {
{ "*=", token_t::StarEq },
{ "/=", token_t::SlashEq },
{ "%=", token_t::PercentEq },
{ "==", token_t::DEq },
{ "!=", token_t::NotEq },
{ "<", token_t::LessThan },
{ ">", token_t::GreaterThan },
{ "<=", token_t::LessEq },
{ ">=", token_t::GreaterEq },
};
token_t type = token_t::None;