aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/objc-gnu-runtime-abi-01.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-10-30 19:24:07 +0000
committerIain Sandoe <iain@sandoe.co.uk>2020-11-01 20:15:25 +0000
commite344ea07e4024316e1bc01f18bf7f187ad3aef89 (patch)
treed406d6eba79c5e13d509cc6c638e1b3e71ea088c /gcc/objc/objc-gnu-runtime-abi-01.c
parent3784f161a383ead7d5fe9a5b68e4d07eccd82d49 (diff)
downloadgcc-e344ea07e4024316e1bc01f18bf7f187ad3aef89.zip
gcc-e344ea07e4024316e1bc01f18bf7f187ad3aef89.tar.gz
gcc-e344ea07e4024316e1bc01f18bf7f187ad3aef89.tar.bz2
Objective-C++ : Address a FIXME.
We can avoid the spurious additional complaint about a closing ')' by short-circuiting the test in the case we know there's a syntax error already reported. gcc/cp/ChangeLog: * parser.c (cp_parser_objc_at_property_declaration): Use any exisiting syntax error to suppress complaints about a missing closing parenthesis in parsing property attributes. gcc/testsuite/ChangeLog: * obj-c++.dg/property/at-property-1.mm: Adjust test after fixing spurious error output.
Diffstat (limited to 'gcc/objc/objc-gnu-runtime-abi-01.c')
0 files changed, 0 insertions, 0 deletions