https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94637

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:e1113ffbd619d0568fb3b37e9660d9e0ae7862f5

commit r10-7794-ge1113ffbd619d0568fb3b37e9660d9e0ae7862f5
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Sun Apr 19 12:13:33 2020 +0200

    c, objc: Fix up c_parser_objc_selector_arg after CPP_SCOPE changes
[PR94637]

    Similarly to inline asm, :: (or any other number of consecutive colons) can
    appear in ObjC @selector argument and with the introduction of CPP_SCOPE
    into the C FE, we need to trat CPP_SCOPE as two CPP_COLON tokens.
    The C++ FE does that already that way.

    2020-04-19  Jakub Jelinek  <ja...@redhat.com>

            PR objc/94637
            * c-parser.c (c_parser_objc_selector_arg): Handle CPP_SCOPE like
            two CPP_COLON tokens.

            * objc.dg/pr94637.m: New test.

Reply via email to