bug-bison
[Top][All Lists]
Advanced

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

Re: C++17 skeleton with move semantics and std::variant


From: Frank Heckenbach
Subject: Re: C++17 skeleton with move semantics and std::variant
Date: Mon, 09 Apr 2018 18:19:37 +0200

Hans Åberg wrote:

> > On 9 Apr 2018, at 17:04, Frank Heckenbach <address@hidden> wrote:
> > 
> >> The option
> >>  %define extra_header_prefix {calc-c++17-}
> >> does not seem to work: I got both location.hh and position.hh.
> > 
> > Ah, sorry, I think you need to apply my original patch from
> > 
> >  http://lists.gnu.org/archive/html/bug-bison/2018-03/msg00058.html
> > 
> > as well. It patches location.cc which is otherwise unchanged in the
> > new skeleton. I will clarify this.
> 
> Also position.hh differs on the namespace chosen.

position.hh is also generated from location.cc (a bit confusing
perhaps; not my choice). If you remove all generated files and start
from scratch, does it work for you with the above patch?

Regards,
Frank



reply via email to

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