This module implements input from a token array. A new token-stream is created by new_token_stream(). The first argument tokens contains the actual tokens. It is ended with 0. The argument values holds the values corresponding to the tokens. For example, with a token TOK_DIGIT belongs a value of '0', '1', ..., '9'. If values equals 0, then the values will be ignored.
The current token stream is set by token_stream(). All other functions act on the current token-stream.