Amendment of specification with leave of the court. 30.- (1) In any action for infringement of a patent or any proceeding before the court for the revocation of a patent, the court may, subject to the provisions of the next following section, by order allow the patentee to amend his complete specification in such manner, and subject to such terms as to costs, advertise-meats or otherwise, as the c