Formula Parser fixes with tests, by Peter M Murray Bug 25457. PR: Obtained from: Submitted by: Reviewed by: