Patch: FYI: update jv-scan for PR 19674

Tom Tromey tromey@redhat.com
Tue Jul 12 22:34:00 GMT 2005


I'm checking this in on the trunk.

Without this fix to jv-scan, the PR19674 test case fails.
gcj handles the test correctly (so the jacks test works), but jv-scan
prints an error.

Tested on x86 FC2.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	PR java/19674:
	* parse-scan.y (interface_member_declaration): Added
	empty_statement.

Index: parse-scan.y
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/parse-scan.y,v
retrieving revision 1.41
diff -u -r1.41 parse-scan.y
--- parse-scan.y 25 Jun 2005 00:33:04 -0000 1.41
+++ parse-scan.y 12 Jul 2005 22:32:53 -0000
@@ -637,6 +637,7 @@
 |	abstract_method_declaration
 |	class_declaration	/* Added, JDK1.1 inner classes */
 |	interface_declaration	/* Added, JDK1.1 inner classes */
+|	empty_statement
 ;
 
 constant_declaration:



More information about the Gcc-patches mailing list