1 REM it is necessary in order to get a correct line code
\r
5 bison -t -d -v -p ai -o ai_service/script_parser_yacc.cpp ai_service/script_parser.yacc
\r
6 del ai_service\script_parser_yacc.h
\r
7 rename ai_service\script_parser_yacc.hpp script_parser_yacc.h
\r
10 flex -f -8 -Pcf -oai_service/script_parser_lex.cpp ai_service/script_parser.lex
\r
11 cat ai_service\script_parser_lex.cpp | sed -e "s/#include <unistd.h>/#ifdef WIN32\n#include <io.h>\n#else \/\/ WIN32\n#include <unistd.h>\n#endif \/\/ WIN32\n/g" > ai_service\toto.cpp
\r
12 del ai_service\script_parser_lex.cpp
\r
13 rename ai_service\toto.cpp script_parser_lex.cpp
\r