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 e...@byu.net
signature.asc
Description: OpenPGP digital signature