%option header-file="FILE"
’While in the header, the macro yyIN_HEADER
is defined, where ‘yy’
is substituted with the appropriate prefix.
The ‘--header-file’ option is not compatible with the ‘--c++’ option, since the C++ scanner provides its own header in yyFlexLexer.h.
%option outfile="FILE"
’#line
directives (see the ‘-l’ option above) refer to the file
FILE.
%option stdout
’flex
to write the scanner it generates to standard
output instead of lex.yy.c.
flex
constructs its scanners. You'll never need this option unless you are doing
flex
maintenance or development.