Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 1997 13:11:39 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        henrich@crh.cl.msu.edu (Charles Henrich)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: flex vs. lex
Message-ID:  <199704222011.NAA26924@phaeton.artisoft.com>
In-Reply-To: <19970421215130.42112@crh.cl.msu.edu> from "Charles Henrich" at Apr 21, 97 09:51:30 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 :(

Use the "-l" argument to flex.

Use "man lexdoc".

Also see the O'Reilly book on yacc and lex; it has a section on
converting code.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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