This commit is contained in:
2024-12-03 20:42:35 -05:00
parent a3548a5bd3
commit 6081834687
3 changed files with 5 additions and 5 deletions

View File

@ -134,7 +134,7 @@ Code begin( CodeBody body) {
}
inline
Code end(CodeBody body ){
return { rcast(AST*, body.ast)->Back->Next };
return { nullptr };
}
#pragma endregion CodeBody

View File

@ -3893,11 +3893,11 @@ CodeFriend parse_friend()
// if ( params )
// function->Params = params;
}
// Operator declaration or definition
if ( currtok.Type == Tok_Decl_Operator )
{
op = parse_operator_after_ret_type( ModuleFlag_None, NullCode, type );
op = parse_operator_after_ret_type( ModuleFlag_None, NullCode, NullCode, type );
}
CodeComment inline_cmt = NullCode;