This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ PATCH: Improved parser diagnosis


On 20 Mar 2001, Alexandre Oliva wrote:
> Hmm...  Strictly speaking, it's not being used as a type, but as a
> template class.  I think it wouldn't be too hard to tell one from the
> other, giving template_arg_list_ignore a boolean value indicating
> whether or not it matched a template argument list, then emitting an
> appropriate argument list.

That sounds like a good idea...

> Do you think it would be too hard to extend this patch so as to cover
> base class names too?  We've got yet another bug report about the
> parse error it triggers a few days ago.

...and I don't think it should be hard for someone (more) familiar with
that code; it's just that I'll be leaving in a few days and am burried
under "regular" work until then.

My preference would be to install the simple patch now and then start
refining it; or, you could take that patch as a base, enhance it, and
then resubmit.

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]