Hello! My flex version 2.5.31 and there is a problem with header-file
I redefine an yylex function in a definition section:
#define YY_DECL struct atom_t * yylex()
After it I run flex with command: "flex --header-file=lex.yy.h lex.l"
My definiton of YY_DECL is not included in header file and so there is a
default definition of yylex: "int yylex (void)", but in .c file everything
So I can not use this header file as an interface for lex.yy.c.
This is my problem. Am I doing something wrong? Sorry for my language :)