Updates the parser with removal of unneeded whitespace