Commit f27f1e98 by Ed Smith-Rowland Committed by Edward Smith-Rowland

Index declspecs.locations by ds_typedef rather than ds_thread.

From-SVN: r193426
parent 4b8181c5
2012-11-12 Ed Smith-Rowland <3dw4rd@verizon.net>
* parser.c (cp_parser_objc_class_ivars):
Index declspecs.locations by ds_typedef rather than ds_thread.
2012-11-09 Ed Smith-Rowland <3dw4rd@verizon.net>
PR c++/54413
......
......@@ -24650,7 +24650,7 @@ cp_parser_objc_class_ivars (cp_parser* parser)
if (decl_spec_seq_has_spec_p (&declspecs, ds_typedef))
{
cp_parser_error (parser, "invalid type for instance variable");
declspecs.locations[ds_thread] = 0;
declspecs.locations[ds_typedef] = 0;
}
prefix_attributes = declspecs.attributes;
......
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