Next: Reentrant Example, Previous: Reentrant Uses, Up: Reentrant [Contents][Index]
The API for reentrant scanners is different than for non-reentrant scanners. Here is a quick overview of the API:
%option reentrant must be specified.
yyscanner
yylex_init and yylex_destroy must be called before and
after yylex, respectively.
flex variables.
yyextra.