Ensure the entire input is parsed