Commit b226520a by Bryce McKinlay Committed by Bryce McKinlay

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
parent 73f397d4
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:
......
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:
......
public interface PR19674
{
public interface Inside
{
void m(int p, int p2);
};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment