Check for end of tokenlist