Add Core compiler interface
This commit is contained in:
@@ -864,7 +864,7 @@ parse_decl(B32 is_global){
|
||||
if(!expr->scope){
|
||||
compiler_error(tname, "Operator overload doesn't have body");
|
||||
}
|
||||
Operator_Info *op_info = get_operator_info(tname->intern_val);
|
||||
Ast_Operator_Info *op_info = get_operator_info(tname->intern_val);
|
||||
if(!op_info){
|
||||
compiler_error(tname, "This operator cannot be overloaded");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user