Greetings,

I wanted to correct something from my last request.  The pointer yyin
is actually from the flex package not byacc, and I ended up using:

setmode(yyin, "rt");

to reset yyin as well modifying all of my fopen statements to use text
mode.  I have returned all of my strings and rules to using just \n
instead of \r\n.  Hopefully, I finally have a correct method for using
these packages.  Thanks to everyone for their help.

Francis R. Harvey III
WB303, x3952
[EMAIL PROTECTED]

VB programmers know the wisdom of Nothing

> -----Original Message-----
> From: Christopher Faylor [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 06, 2003 1:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Install 1.3.22-1 problem - default text file type - DOS
> 
> 
> On Wed, Aug 06, 2003 at 01:23:47PM -0400, Francis Harvey wrote:
> >Greetings,
> >
> >I realize most people may not be familiar with the byacc package, but
> >it can't hurt to ask.  I would like to alter the behavior of byacc to
> >make the file pointer yyin use this "text" mode by default.
> 
> setmode (fileno (yyin), O_TEXT);
> --
<snip>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to