[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with automake and bison
From: |
Eric Blake |
Subject: |
Re: problem with automake and bison |
Date: |
Mon, 11 Jan 2010 06:01:32 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
According to Michael Walton on 1/10/2010 5:36 PM:
> I am using the autotools in combination with GNU Bison and Flex. In
> particular I am using the %glr directive in my bison file (parse.y).
> Everything works fine, except that when I run 'make', 'ylwrap' is
> invoked which runs 'bison -y -d' on 'parse.y' producing 'y.tab.h' and
> 'y.tab.c'. 'ylwrap' then renames these output files to 'parse.h' and
> 'parse.c' (Forgive me if I have the details wrong. I claim no
> expertise). The problem is that the y.tab.c produced from the glr
> skeleton with the -d bison option has in '#include "y.tab.h"' CPP
> directive in it. This really should be changed by ylwrap to '#include
> "parse.h"', but it isn't. The autotools do nothing about this problem.
ylwrap is an automake tool; you may have better luck asking your question
on the bison or automake lists.
--
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
signature.asc
Description: OpenPGP digital signature