This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: RFA: FIx PR java/19674


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]