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 > [EMAIL PROTECTED] > http://lists.lugod.org/mailman/listinfo/vox-tech > -- Mark K. Kim http://www.cbreak.org/ PGP key available upon request. _______________________________________________ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
