[Top][All Lists]

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

Re: Comments in %union processed incorrectly

From: Hans Aberg
Subject: Re: Comments in %union processed incorrectly
Date: Thu, 3 Jan 2002 12:57:28 +0100

At 10:22 +0100 2002/01/03, Akim Demaille wrote:
>..  Honestly, before I was perfectly able to use 1.28
>on a C++ project of significant scale.  Now it no longer works because
>we wanted to please Hans.  Let's stop that now.

I doubt it has to do with those changes: Are you sure that you did not work
on that project for a while, then switched to a compiler that check for
unions properly, and that is causing the problem instead?

-- The problem is probably rather that you have delayed the C++ support for
too long, so that when the compilers become more conforming, the old
non-conforming code that formerly compiled will break. It should break,
because it is not safe.

So despite of your plans of a fancy C++ support in Bison 1.48, I think it
would be more prudent with some simple tweaks in 1.31+, as I suggested, and
then successively work up the fancy stuff later.

  Hans Aberg

reply via email to

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