parse-scan.y (interface_declaration): Call report_class_declaration for interfaces.
* parse-scan.y (interface_declaration): Call report_class_declaration for interfaces. From-SVN: r26760
This commit is contained in:
parent
c56f65d675
commit
a7f0ef91f6
@ -1,3 +1,8 @@
|
||||
1999-05-03 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* parse-scan.y (interface_declaration): Call
|
||||
report_class_declaration for interfaces.
|
||||
|
||||
1999-04-30 20:54 -0400 Zack Weinberg <zack@rabi.columbia.edu>
|
||||
|
||||
* Makefile.in: Remove -v from bison command lines.
|
||||
|
@ -571,11 +571,13 @@ this_or_super: /* Added, simplifies error diagnostics */
|
||||
/* 19.9.1 Productions from 9.1: Interfaces Declarations */
|
||||
interface_declaration:
|
||||
INTERFACE_TK identifier interface_body
|
||||
{ report_class_declaration ($2); modifier_value = 0; }
|
||||
| modifiers INTERFACE_TK identifier interface_body
|
||||
{ modifier_value = 0; }
|
||||
{ report_class_declaration ($3); modifier_value = 0; }
|
||||
| INTERFACE_TK identifier extends_interfaces interface_body
|
||||
{ report_class_declaration ($2); modifier_value = 0; }
|
||||
| modifiers INTERFACE_TK identifier extends_interfaces interface_body
|
||||
{ modifier_value = 0; }
|
||||
{ report_class_declaration ($3); modifier_value = 0; }
|
||||
;
|
||||
|
||||
extends_interfaces:
|
||||
|
Loading…
Reference in New Issue
Block a user