BSKNextToken

Module: BSKLexer
BSKTokenId BSKNextToken( BSKLexer* lexer,
                         BSKStream* stream,
                         BSKToken* token );
Inputs: Returns: the type of the new token, or TT_EMPTY if there was an error.

Description: Retrieves the next token in the given stream and stores it in the given token object. The token type is returned. A token type of TT_EMTPY is returned if an error is detected. If any token exists in the back token buffer, the most recently stored one is returned and removed from the buffer.

Return to the API
Return to the function listing


Last updated on 9 Feb 2001 by Jamis Buck (minam@rpgplanet.com)