re PR java/19674 (Empty declaration through semicolon (;) causes compile failure)
2005-07-05 Bryce McKinlay <mckinlay@redhat.com> PR java/19674 * parse.y (interface_member_declaration): Allow empty statements in interface declarations. 2005-07-05 Bryce McKinlay <mckinlay@redhat.com> * testsuite/libjava.compile/PR19674.java: New test. From-SVN: r101634
This commit is contained in:
parent
73f397d429
commit
b226520a2d
@ -1,3 +1,9 @@
|
||||
2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
|
||||
|
||||
PR java/19674
|
||||
* parse.y (interface_member_declaration): Allow empty statements in
|
||||
interface declarations.
|
||||
|
||||
2005-07-05 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* Makefile.in (parse.o): Adjust dependencies.
|
||||
|
@ -1320,6 +1320,7 @@ interface_member_declaration:
|
||||
{ end_class_declaration (1); }
|
||||
| interface_declaration /* Added, JDK1.1 inner interfaces */
|
||||
{ end_class_declaration (1); }
|
||||
| empty_statement
|
||||
;
|
||||
|
||||
constant_declaration:
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
|
||||
|
||||
* testsuite/libjava.compile/PR19674.java: New test.
|
||||
|
||||
2005-07-05 Aaron Luchko <aluchko@redhat.com>
|
||||
|
||||
* gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
|
||||
|
7
libjava/testsuite/libjava.compile/PR19674.java
Normal file
7
libjava/testsuite/libjava.compile/PR19674.java
Normal file
@ -0,0 +1,7 @@
|
||||
public interface PR19674
|
||||
{
|
||||
public interface Inside
|
||||
{
|
||||
void m(int p, int p2);
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user