[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison compatible with yacc/byacc/<whatever>yacc?
From: |
James Buchanan |
Subject: |
Re: Bison compatible with yacc/byacc/<whatever>yacc? |
Date: |
Fri, 3 Aug 2001 11:53:49 +0200 |
Thankyou for that Hans --- I actually wrote the grammar on Windows and put
it on a floppy disk and moved it to my Linux box, because Microsoft's
USELESS compiler Visual C++ 6 refused to compile the output from the flex
and bison ports to Windows.
It is probably the \r\n vs. \n problem? Yes, that must be it.
Thanks!
James Buchanan
----- Original Message -----
From: "Hans Aberg" <address@hidden>
To: "James Buchanan" <address@hidden>
Cc: <address@hidden>
Sent: Friday, August 03, 2001 4:59 AM
Subject: Re: Bison compatible with yacc/byacc/<whatever>yacc?
> At 04:31 +1000 2001/08/03, James Buchanan wrote:
> >I have never experienced problems with bison before, although I have
never
> >written anything substantial with flex and bison.
> >
> >I keep getting odd error messages from bison. "Invalid input" and
something
> >about no colon after rule, etc. I've never had these error messages
before.
>
> I get these errors when the input is non-ASCII, not only from Bison, but
> also my C/C++ compiler. Particularly nasty is an <ption-spacebar> which
> produces a long non-ASCII space, which cannot be detected visually in a
> mono-space font.
>
> But I do not know what happened in your case -- too few details.
>
> Hans Aberg
>
>
>