make if and elseif throw a better error message when a tag body is omitted