Break out of for loop when ; is encountered, and make sure that no tokens remain.