Re: [C++ Patch] PR 53003

2012-04-17 Thread Paolo Carlini
On 04/17/2012 03:55 PM, Jason Merrill wrote: I have various thoughts: It's odd that we still treat 'return' as starting a function body long after we removed that extension. Maybe we shouldn't look for a function body if we already have an initializer and aren't dealing with a function decla

Re: [C++ Patch] PR 53003

2012-04-17 Thread Jason Merrill
I have various thoughts: It's odd that we still treat 'return' as starting a function body long after we removed that extension. Maybe we shouldn't look for a function body if we already have an initializer and aren't dealing with a function declarator. I guess we should set initializer_tok