Search results

  1. S

    Flex help....

    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;}...
  2. S

    Flex help....

    Thanks so much! This is very helpful! :D Will get to it and be back. Thanks again!
  3. S

    Flex help....

    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...
Back
Top