diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-04-19 12:13:33 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-04-19 12:13:33 +0200 |
commit | e1113ffbd619d0568fb3b37e9660d9e0ae7862f5 (patch) | |
tree | 09b934e4b3623821ce9842b128072434f976171b /gcc/fortran/simplify.c | |
parent | 8a9ce39f8bbb2ae0798bec0ed2051a5f10b21122 (diff) | |
download | gcc-e1113ffbd619d0568fb3b37e9660d9e0ae7862f5.zip gcc-e1113ffbd619d0568fb3b37e9660d9e0ae7862f5.tar.gz gcc-e1113ffbd619d0568fb3b37e9660d9e0ae7862f5.tar.bz2 |
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 <jakub@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.
Diffstat (limited to 'gcc/fortran/simplify.c')
0 files changed, 0 insertions, 0 deletions