This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

Patch: FYI: update jv-scan for PR 19674


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:


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