Initialize scanner; call f on each scanned token data
copy current character into cbuf, interpreting any escape sequences, and advance to next character.
copy current character into cbuf, interpreting any escape sequences, and advance to next character.
Produce next token, filling curr TokenData fields of Scanner.