This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Proposed change to libstdc++ demangler (was: Re: g++ rejects declaration of reference to array?)
- From: Carlo Wood <carlo at alinoe dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: schwab at suse dot de, rguenth at tat dot physik dot uni-tuebingen dot de, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 22 Oct 2003 23:32:52 +0200
- Subject: Re: Proposed change to libstdc++ demangler (was: Re: g++ rejects declaration of reference to array?)
- References: <Pine.LNX.4.44.0310171323570.898-100000@bellatrix.tat.physik.uni-tuebingen.de> <jeekxcnkza.fsf@sykes.suse.de> <20031017134223.GA11618@alinoe.com> <20031022113257.3fd660fb.bkoz@redhat.com>
On Wed, Oct 22, 2003 at 11:32:57AM -0500, Benjamin Kosnik wrote:
>
> >Apparently this should be changed to:
> >
> > // <Q>[K|V|r]+A<I> ==> [ const| volatile| restrict]+ (Q) [I]
> >
> >where the <Q> is not allowed to end on [K|V|r]+.
> >
> >In less formal words, the 'const' etc. "falls through" the left brace
> >and
> > int ( const&) [3] becomes int const (&) [3]
>
> Did you have a patch for this?
No, I was waiting till someone agreed / disagreed with the idea
behind the patch. If you agree, then I will write the patch
and submit it for review the usual way.
--
Carlo Wood <carlo@alinoe.com>