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]

[C++ Patch] PR 58707


Hi,

in order to fix this parsing issue with '>' between square brackets, it seems we have simply to use the parser->greater_than_is_operator_p mechanism. Tested x86_64-linux.

Thanks,
Paolo.

PS: Even if the testcase uses a constexpr array I don't think we need to special case c++11 vs c++98. Neither wrap only the cp_parser_expression call.

///////////////////////

Attachment: CL_58707
Description: Text document

Attachment: patch_58707
Description: Text document


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