Back with some answers, for all those interested.
The flex code for b reads:
%{
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
char *name;
char *yytext;
int myvar;
%}
/*these are just declarations*/
%%
[A-E]* {myvar=yyleng; return yyleng;}...
Hey guys, noob here in dire need of help.
I am preparing for an exam on Compilers and I have serious trouble answering some --seemingly simple --- questions concerning the FLEX logical analyser.
I know, the first thing is for me is to go back to my notes and try harder, but sadly my...