prepare the ground for code parsing in read_until_...