parse an extra ; at the end of expected code or block