automake
[Top][All Lists]
Advanced

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

Re: Bison and automake together


From: Paulo J. Matos
Subject: Re: Bison and automake together
Date: Mon, 01 Nov 2010 23:15:27 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Pippijn van Steenhoven <address@hidden> writes:

> On Sun, Oct 31, 2010 at 10:55:53PM +0000, Philip Herron wrote:
>> Your bison file shouldnt generate any code with includes y.tab.h. You
>> must have it in your field delcarations for bison. Its only your lexer
>> needs to see these bison definitions.
>
> It does for GLR parsers.

Also for C++ parsers, with
,----
| %skeleton "lalr1.cc"
`----

or with same results using
,----
| %language "C++"
`----

This is an annoying issue that automake should strive to either solve or
document since currently automake is not compatible with C++ bison
generated parsers it seems.

-- 
PMatos




reply via email to

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