This is the mail archive of the gcc-bugs@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]

[Bug c++/44906] g++ is giving error: parse error in template argument list


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906

--- Comment #10 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2011-10-19 22:24:12 UTC ---
The problem seems to be the tentative parsing in cp_parse_template_id, which
tries every crazy thing it can, and when nothing works, it just gives this
catch all diagnostic. 

But debugging the C++ parser is an absolute pain, I hope someone with more
patience takes a shot at this. The current diagnostic is just awful.


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