This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Improved parser diagnosis
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: C++ PATCH: Improved parser diagnosis
- From: Joe Buck <jbuck at racerx dot synopsys dot com>
- Date: Tue, 20 Mar 2001 11:08:40 -0800 (PST)
- Cc: pfeifer at dbai dot tuwien dot ac dot at (Gerald Pfeifer), gcc-patches at gcc dot gnu dot org, jbuck at synopsys dot COM (Joe Buck)
> On Mar 20, 2001, Joe Buck <jbuck@racerx.synopsys.com> wrote:
>
> > Is there a GNATS entry (or URL for the gcc-bugs email) for the testcase?
>
> Here's a complete testcase, derived from the original report:
>
> class foo : bar {};
OK. That's probably fixable, but the grammar would need to be patched in
a completely different place, so I think it should be treated as an
independent change and not part of Gerald's patch.
It actually looks like the grammar is trying to catch this case or things
like it: I'll have to generate the table and use yydebug to find out why
it doesn't work.