On 1/31/19 5:51 PM, Jakub Jelinek wrote:
Hi!

THe following patch rejects invalid __attribute__ syntax where one or both
opening parens are missing, but it is accepted anyway.

Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

2019-01-31  Jakub Jelinek  <ja...@redhat.com>

        PR c++/87175
        * parser.c (cp_parser_gnu_attributes_opt): Set ok to false
        if require_open failed.

OK.

Jason

Reply via email to