Updated parser to ignore newlines. Stopped parser from printing error messages