This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/60361 (decl/expr ambiguity)
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 05 Mar 2014 19:06:01 +0100
- Subject: Re: C++ PATCH for c++/60361 (decl/expr ambiguity)
- Authentication-results: sourceware.org; auth=none
- References: <53176065 dot 9010603 at redhat dot com>
Hi,
On 03/05/2014 06:35 PM, Jason Merrill wrote:
+ cp_token *token = cp_lexer_peek_token (parser->lexer);
+ cp_lexer_set_source_position_from_token (token);
Shall we add a static inline void cp_lexer_set_source_position (cp_lexer
*lexer)? We do have a couple of existing instances too...
Paolo.