Re: [C++ Patch] PR 57673

2013-07-31 Thread Paolo Carlini
On 07/30/2013 09:36 PM, Jason Merrill wrote: OK. Thanks, installed. Today I had a look to the error recovery in cp_parser_sizeof_pack and noticed a few cases in which we could do better. A very simple issue is the following: when cp_parser_identifier returns error_mark_node we don't notice

Re: [C++ Patch] PR 57673

2013-07-31 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 57673

2013-07-30 Thread Paolo Carlini
Hi, we currently fail to parse this rather simple NSDMI usage (note that wrapping the whole initializer in parentheses works around the problem because cp_parser_cache_group handles the special case). Simply detecting that we are parsing an ellipsis in an nsdmi and not ending the main while

Re: [C++ Patch] PR 57673

2013-07-30 Thread Jason Merrill
OK. Jason