I've coded a couple of parsers before using flex to create the lexer, but this time I wanted flex to generate a Lexer Class instead of the classic C file, i.e. I wanted flex to generate a C++ scanner class... the thing is that it is not generating the yyFlexLexer.h for me, only the lex.yy.cc
I've read the Flex manual C++ chapter... so idk what to do... is it that my flex for windows isn't not working properly?
These are the flex options I'm currently using:
%option outfile="cmdsLexer.cpp"
%option stdinit
%option case-insensitive
%option c++
%{
#include "global-scope.h"
%}
ANDIGIT [a-zA-Z0-9]
IDNTIFIER [a-zA-Z_]({ANDIGIT}|_|-)*
INTEGER [-+]?[0-9]+
STRING \"[^\n\"]*\"
....