Patch: RFA: FIx PR java/19674

Ranjit Mathew rmathew@gmail.com
Fri Jul 15 06:00:00 GMT 2005


Bryce McKinlay wrote:
> 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.

If it is not out-of-sync already, it might be good to update
the grammar in parse-scan.y as well.

Ranjit.

-- 
Ranjit Mathew       Email: rmathew AT gmail DOT com

Bangalore, INDIA.     Web: http://ranjitmathew.hostingzero.com/



More information about the Java-patches mailing list