Patch: RFA: FIx PR java/19674
Andrew Haley
aph@redhat.com
Tue Jul 5 15:57:00 GMT 2005
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.
More information about the Java-patches
mailing list