[vox-tech] Reg lex and flex compatibilty

Mark K. Kim vox-tech@lists.lugod.org
Thu, 3 Jul 2003 23:02:54 -0700 (PDT)


Try -l:

   flex -l ...

Good luck.  Lots of it.

-Mark


On Fri, 4 Jul 2003, Muthumeena M wrote:

> Hi,
>
> I have an input file for lex i.e a  file.l.
> In solaris, the lexer gives an output as file.yy.c  which is getting
> compiled without any compiler errors.
>
> Whereas when  i try the same in linux redhat 8.0,
> the lex command invokes flex 2.5  which also gives a file.yy.c as output.
> The problem comes in compiling this file.yy.c in linux.
> It gives many undeclared variable error.
>
> This could be bec of the incompatibilty bet lex and flex. Probably some
> make file option needs to be modified or added.
>
> Could anyone help me regarding this please?
>
> Thank in advance
> Meena
>
>
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>

-- 
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.