Make flex directly generate the yylex method with parameter