A distribution made by an S corporation with respect to its stock to a shareholder shall be taken into account by such shareholder for the purposes of section 39-22-104 to the extent that the distribution is determined to be taxable under the internal revenue code.