[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: Sun, 31 Oct 2010 22:55:53 +0000

On 31 October 2010 18:49, Paulo J. Matos <address@hidden> wrote:
> Philip Herron <address@hidden> writes:
>> Your bison generated header also gets renamed by ylwrap, and yeah this
>> is probably the best place to ask about this problem your bison header
>> ( will get renamed to the same name as your bla.y but changed
>> to bla.h.
>> Notice the make line you posted was scgparser.h
>> See the then scgparser.h.
> I know, but that is not the problem. The problem is that the bison
> generated file includes but this doesn't exist since, as you
> said, ylwrap renames it.

Your bison file shouldnt generate any code with includes You
must have it in your field delcarations for bison. Its only your lexer
needs to see these bison definitions.

Heres some example:


reply via email to

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