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: [RFA] PATCH for PR c++/39639


Dodji Seketeli wrote:
I thought about making cp_parser_template_argument spit an error when no
argument were parsed and the next token was an ellipsis, but then I wasn't sure
why the ellipsis detection and pack expansion weren't done in that function in
the first place; those are done in cp_parser_template_argument_list. So I
thought I should handle the error at the level of
cp_parser_template_argument_list as well.

Well, since cp_parser_template_argument is only called by cp_parser_template_argument_list, it doesn't really matter
which one gives the error. OK.


Jason


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