empty token stack at end of function