re PR c++/57 ([DR 325] GCC can't parse a non-parenthesized comma in a template-id...
authorJason Merrill <jason@redhat.com>
Mon, 28 Apr 2008 20:43:27 +0000 (16:43 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 28 Apr 2008 20:43:27 +0000 (16:43 -0400)
commitbda37952740179739cc1e1fc034fcace001660f6
tree3e397d28969051c4bba11dca77914faf41b4189d
parentd6b68fccba3828011c63478f4f1a758145a94b19
re PR c++/57 ([DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument)

        PR c++/57
        * parser.c (cp_parser_parameter_declaration): Handle < ambiguity
        in default arguments.

Co-Authored-By: Liu Guanwei <liu_gw@163.com>
From-SVN: r134762
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.old-deja/g++.pt/defarg8.C