On 2/11/20 10:35 PM, Marek Polacek wrote:
We crash when parsing
[[a::
because we see a CPP_SCOPE and then we're trying to consume a CPP_EOF
token. So peek before consuming it.
Bootstrapped/regtested on x86_64-linux, ok for trunk?
OK.
PR c++/93684 - ICE-on-invalid with broken at
We crash when parsing
[[a::
because we see a CPP_SCOPE and then we're trying to consume a CPP_EOF
token. So peek before consuming it.
Bootstrapped/regtested on x86_64-linux, ok for trunk?
PR c++/93684 - ICE-on-invalid with broken attribute.
* parser.c (cp_parser_std_attribute