Re: [C++ Patch] PR 54526 (again)

2013-01-04 Thread Paolo Carlini
Hi, On 01/03/2013 10:56 PM, Jason Merrill wrote: On 01/03/2013 05:44 AM, Paolo Carlini wrote: + /* C++11 - 2.5 p3, bullet 2. */ Please flesh out this comment some more. Ok, I extended it like this. Thanks, Paolo. / Index: gcc/cp/parser.c

Re: [C++ Patch] PR 54526 (again)

2013-01-04 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 54526 (again)

2013-01-03 Thread Paolo Carlini
Hi, On 01/02/2013 11:07 AM, Jakub Jelinek wrote: Hi! On Sun, Oct 28, 2012 at 12:27:40PM +0100, Paolo Carlini wrote: --- gcc/cp/parser.c (revision 192887) +++ gcc/cp/parser.c (working copy) @@ -12655,9 +12655,8 @@ cp_parser_template_id (cp_parser *parser, /* Otherwise, emit an

Re: [C++ Patch] PR 54526 (again)

2013-01-03 Thread Jason Merrill
On 01/03/2013 05:44 AM, Paolo Carlini wrote: + /* C++11 - 2.5 p3, bullet 2. */ Please flesh out this comment some more. Jason

Re: [C++ Patch] PR 54526 (again)

2013-01-02 Thread Jakub Jelinek
Hi! On Sun, Oct 28, 2012 at 12:27:40PM +0100, Paolo Carlini wrote: --- gcc/cp/parser.c (revision 192887) +++ gcc/cp/parser.c (working copy) @@ -12655,9 +12655,8 @@ cp_parser_template_id (cp_parser *parser, /* Otherwise, emit an error about the invalid digraph, but continue

[C++ Patch] PR 54526 (again)

2012-10-28 Thread Paolo Carlini
Hi, as pointed out in the audit trail, my first patch for this C++11 parsing issue was misguided: I changed cp_parser_template_id but in fact C++11 wants new special *lexing* rules, which must be active outside templates too, as the additional test (and the old manded one) shows. Thus the