Bulletproofing operator overloads using generated data
This commit is contained in:
@@ -72,12 +72,6 @@ lex_is_keyword(Intern_Table *lexer, Intern_String keyword){
|
||||
return result;
|
||||
}
|
||||
|
||||
function B32
|
||||
is_valid_operator_overload(Lexer *lexer, Intern_String op){
|
||||
B32 result = op.str >= lexer->first_op.str && op.str <= lexer->last_op.str;
|
||||
return result;
|
||||
}
|
||||
|
||||
function void
|
||||
token_error(Token *t, String error_val){
|
||||
t->kind = TK_Error;
|
||||
|
||||
Reference in New Issue
Block a user