Commit eb89f88c by H.J. Lu Committed by H.J. Lu

semantics.c (finish_member_declaration): Fix a typo in the last checkin.

2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>

	* semantics.c (finish_member_declaration): Fix a typo in the
	last checkin.

From-SVN: r125067
parent 86ef8528
2007-05-25 H.J. Lu <hongjiu.lu@intel.com>
* semantics.c (finish_member_declaration): Fix a typo in the
last checkin.
2007-05-25 Douglas Gregor <doug.gregor@gmail.com>
PR c++/31431
......
......@@ -2286,7 +2286,7 @@ finish_member_declaration (tree decl)
/* Check for bare parameter packs in the member variable declaration. */
if (TREE_CODE (decl) == FIELD_DECL
&& !check_for_bare_parameter_packs (TREE_TYPE (decl)))
TREE_TYPE (decl) == error_mark_node;
TREE_TYPE (decl) = error_mark_node;
/* [dcl.link]
......
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