This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch/RFC] PR 53025
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 02 Oct 2014 10:26:20 -0400
- Subject: Re: [C++ Patch/RFC] PR 53025
- Authentication-results: sourceware.org; auth=none
- References: <542C2C69 dot 9000905 at oracle dot com> <542CC505 dot 4090807 at redhat dot com> <542D410A dot 300 at oracle dot com>
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.
Jason