[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison and automake together
From: |
Pippijn van Steenhoven |
Subject: |
Re: Bison and automake together |
Date: |
Sat, 6 Nov 2010 18:06:58 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sat, Nov 06, 2010 at 04:37:26PM +0000, Paulo J. Matos wrote:
> Does someone confirm that there is a bug here?
> Bison in C++ mode with -y compatibility mode generates a file which
> includes y.tab.h. ylwrap _cannot_ rename the file or compilation will
> fail. If C++ is supported there's a problem with ylwrap. If it's not
> supported then Yacc shouldn't display the error and abort the build.
In my opinion, ylwrap should gain knowledge about the used yacc
implementation and pass a -o to it if the implementation supports it.
That way, line numbers will be correct (aids debugging), header file
inclusions will be correct (solves your problem) and it automatically
allows for multiple yacc files to coexist in one project.
--
Pippijn van Steenhoven
signature.asc
Description: Digital signature
- Re: Bison and automake together, Pippijn van Steenhoven, 2010/11/01
- Re: Bison and automake together, Paulo J. Matos, 2010/11/01
- Re: Bison and automake together, Paulo J. Matos, 2010/11/01
- Re: Bison and automake together, Philip Herron, 2010/11/01
- Re: Bison and automake together, Paulo J. Matos, 2010/11/02
- Re: Bison and automake together, Philip Herron, 2010/11/02
- Re: Bison and automake together, Andrew W. Nosenko, 2010/11/02
- Re: Bison and automake together, Paulo J. Matos, 2010/11/06
- Re: Bison and automake together, Paulo J. Matos, 2010/11/06
- Re: Bison and automake together,
Pippijn van Steenhoven <=
- Re: Bison and automake together, Philip Herron, 2010/11/06