Subject: Re: flex ain't lex
To: Rick Kelly <>
From: Chris G Demetriou <>
List: current-users
Date: 07/01/1996 23:22:38
> I grabbed the "one true awk" source:
> 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?