* parse.y: Refer to compound literals as such, not as
constructor-expressions.
From-SVN: r42455
+2001-05-22 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * parse.y: Refer to compound literals as such, not as
+ constructor-expressions.
+
2001-05-21 Mark Mitchell <mark@codesourcery.com>
* call.c (build_op_delete_call): Ignore exception-specifications
tree init = build_nt (CONSTRUCTOR, NULL_TREE,
nreverse ($3));
if (pedantic)
- pedwarn ("ISO C++ forbids constructor-expressions");
- /* Indicate that this was a GNU C constructor expression. */
+ pedwarn ("ISO C++ forbids compound literals");
+ /* Indicate that this was a C99 compound literal. */
TREE_HAS_CONSTRUCTOR (init) = 1;
$$ = reparse_absdcl_as_casts ($$, init);