Updated the parser with the new changes: ignores newline characters, does not print parse error messages