Make grammar more robust by ignoring insignificant new lines