use yyleng instead of strlen(yytext)