Date: Mon, 10 Mar 1997 17:29:49 +0200 (IST) From: Eli Zaretskii To: Thomas Demmer cc: djgpp AT delorie DOT com Subject: Re: djgpp bug? In-Reply-To: <3323F542.41C6@LSTM.Ruhr-UNI-Bochum.De> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 10 Mar 1997, Thomas Demmer wrote: > For a _real_ fool proof way of getting input lines of unknown > length, check the FAQ-sources. Somewhere in there Eli has put > a routine that reads into a buffer, checks if is terminated > with \n, and reallocates and reads on, if not. It's in v2/faq210s.zip, file faq/enum.c. > And, also, why don't you just use bison & flex. That's exactly > what they are made for. I can only second that.