BSKFindKeyword

Module: BSKTokens
BSKTokenId BSKFindKeyword( const BSKCHAR* ident );
Inputs: Returns: the token type (one of the TT_xxx constants if the string is a keyword, or TT_IDENTIFIER if is not.

Description: Searches the array of keywords to see if the given string is one of them. The search is done case-insensitively. This function is used mainly by the BSKLexer object.

Return to the API
Return to the function listing


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