Commit 268ae1b0 by Jason Merrill Committed by Jason Merrill

exception: Change terminate and unexpected to ().

	* inc/exception: Change terminate and unexpected to ().
	* parse.y (named_class_head_sans_basetype_defn): A
	named_class_head_sans_basetype followed by '{' or ':' is a defn.

From-SVN: r21342
parent 49bcd085
1998-07-22 Jason Merrill <jason@yorick.cygnus.com>
* inc/exception: Change terminate and unexpected to ().
* parse.y (named_class_head_sans_basetype_defn): A
named_class_head_sans_basetype followed by '{' or ':' is a defn.
1998-07-21 Jason Merrill <jason@yorick.cygnus.com>
* tree.c (canonical_type_variant): New fn to handle arrays.
......
......@@ -29,9 +29,9 @@ typedef void (*terminate_handler) ();
typedef void (*unexpected_handler) ();
terminate_handler set_terminate (terminate_handler);
void terminate (void) __attribute__ ((__noreturn__));
void terminate () __attribute__ ((__noreturn__));
unexpected_handler set_unexpected (unexpected_handler);
void unexpected (void) __attribute__ ((__noreturn__));
void unexpected () __attribute__ ((__noreturn__));
bool uncaught_exception ();
#ifdef __HONOR_STD
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2137,6 +2137,10 @@ named_class_head_sans_basetype:
named_class_head_sans_basetype_defn:
aggr identifier_defn %prec EMPTY
{ current_aggr = $$; $$ = $2; }
| named_class_head_sans_basetype '{'
{ yyungetc ('{', 1); }
| named_class_head_sans_basetype ':'
{ yyungetc (':', 1); }
;
named_complex_class_head_sans_basetype:
......
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