This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch/RFC] PR 53025


Hi,

On 10/02/2014 04:26 PM, Jason Merrill wrote:
On 10/02/2014 08:11 AM, Paolo Carlini wrote:
+/* Nonzero if we are parsing the operand of a noexcept operator.  */
+
+extern int cp_noexcept_operand;

Rather than add a global variable, let's look it up in scope_chain directly, like current_namespace and such.
I see, thanks (I'm not very familiar with scope_chain). Thus something like the below? It passes testing.

Thanks again,
Paolo.

/////////////////

Attachment: patch_53025_3
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]