[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison and automake together

From: Philip Herron
Subject: Re: Bison and automake together
Date: Mon, 1 Nov 2010 13:20:12 +0000

On 1 November 2010 10:08, Pippijn van Steenhoven <address@hidden> wrote:
> On Mon, Nov 01, 2010 at 02:14:49AM +0000, Philip Herron wrote:
>> Then thats probably a bug although i havent played with GLR prarsers
>> in bison you may want to post this to bison-help and see what they
>> say.
> The thing is that bison does produce the header, which it then
> assumes to exist and #includes. It doesn't know ylwrap renamed it. You
> are supposed to say %defines "myparser.h" or pass bison a -o option so it
> produces myparser.c and myparser.h in the first place.

Yep thing is though just like normal parsers with bison it doesn't
have any hard-coded includes, and with GLR i _think_ it should be the
same no? its for your bison head/field declarations section to do the
include no? And since this breaks automake compatibility it sounds
like a bug. Even though a work around exists.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]