This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: RFA: FIx PR java/19674
- From: Andrew Haley <aph at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 5 Jul 2005 16:57:57 +0100
- Subject: Re: Patch: RFA: FIx PR java/19674
- References: <42C9C3E3.40007@redhat.com>
Bryce McKinlay writes:
> This patch fixes java/19674:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19674
>
> Empty declarations (";") are permitted in class and interface bodies.
> gcj will currently accept them in class bodies but not in interfaces.
> This patch updates our grammar to be more consistent with the JLS. Note
> that we still correctly warn about empty declarations when -Wall is used.
>
> OK to commit?
>
> Bryce
>
> 2005-07-04 Bryce McKinlay <mckinlay@redhat.com>
>
> PR java/19674
> * parse.y (interface_member_declaration): Allow empty statements in
> interface declarations.
>
OK.
Andrew.