[Top][All Lists]

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

Re: Bison 1.30f

From: Hans Aberg
Subject: Re: Bison 1.30f
Date: Wed, 12 Dec 2001 19:17:12 +0100

At 16:29 +0100 2001/12/12, Akim Demaille wrote:
>Paul> If so, it seems to me that the following patch would be
>Paul> worthwhile even before we modify Bison to output beautiful C++
>Paul> code.  Hans, can you please check whether it works for you with
>Paul> C++?  (It passes Bison's 'make check' test for C.)
>If you can reach an agreement, then please, Paul, install your patch
>on both branches.  But I failed to see any such need personally.  I do
>use Bison output with a C++ compiler, G++, and it does work fine.

The problem shows up if one starts to mix namespaces, if you say use both
std::size_t and my::size_t. Then the old bison.simple will add a
  using std::size_t;
which may conflict with my::size_t.

Perhaps not important, but as bison.simple already has macros, making it
easy to fix, one can just as well do it, if somebody has the energy.

>  I
>am not happy to see more weird stuff in bison.simple than there was
>already before.

So it is the old bison.simple that is wierd, in view of that it does not
provide correct C++ namespaces usage. :-)

  Hans Aberg

reply via email to

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