C++ PATCH: Improved parser diagnosis
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Tue Mar 20 02:00:00 GMT 2001
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/
More information about the Gcc-patches
mailing list