Subject: Re: flex ain't lex
To: Rick Kelly <rmk@rmkhome.rmkhome.com>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
List: current-users
Date: 07/01/1996 23:22:38
> 
> I grabbed the "one true awk" source:
> 
> http://inferno.bell-labs.com/who/bwk/awk.sh
> 
> Compiles fine on SunOS 4.1.4, however, flex under NetBSD emits a
> lex.yy.c that is a bunch of functions with undeclared variables.
> On SunOS, lex emitted #define macros for the same stuff.

Did you try the '-l' option to flex, which turns on "maximum" (but not
full 8-) compatibility with traditional lex?



chris