Minor optimization in Parser.