Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 1997 09:28:47 +0100
From:      Bob Bishop <rb@gid.co.uk>
To:        Charles Henrich <henrich@crh.cl.msu.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: flex vs. lex
Message-ID:  <l03020901af8224763ed5@[194.32.164.2]>
In-Reply-To: <19970421215130.42112@crh.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
At 2:51 +0100 22/4/97, Charles Henrich wrote:
>Does anyone know how to take an old program that depends on lex quirkiness
>(such as rewriting input() ) and make it work with flex?  Any pointers?  I've
>been searching for an hour now and havent found a thing :(

flex is completely Donald'd when it comes to backward compatibility (inter
alia). My code is full of:

#ifdef FLEX_SCANNER
:: this won't work with flex
#endif

You'll have to find yourself a legacy-friendly lex clone from somewhere.
Client I'm visiting today is using one, I'll follow up ....


--
Bob Bishop              (0118) 977 4017  international code +44 118
rb@gid.co.uk        fax (0118) 989 4254  between 0800 and 1800 UK





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l03020901af8224763ed5>