parser: ComputeProdLocationVisitor remember the last token instead of the location