mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 11:29:43 +01:00
codetools: parsing objcprotocol external name constant
git-svn-id: trunk@22709 -
This commit is contained in:
parent
10bf020df1
commit
ef0d1a3cc4
@ -3559,8 +3559,14 @@ begin
|
|||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
if AtomIsStringConstant then
|
if AtomIsStringConstant then
|
||||||
ReadConstant(true,false,[]);
|
ReadConstant(true,false,[]);
|
||||||
|
end else if UpAtomIs('EXTERNAL') then begin
|
||||||
|
ReadNextAtom;
|
||||||
|
if UpAtomIs('NAME') then begin
|
||||||
|
ReadNextAtom;
|
||||||
|
ReadConstant(true,false,[]);
|
||||||
|
end;
|
||||||
end else if UpAtomIs('PLATFORM') or UpAtomIs('UNIMPLEMENTED') or
|
end else if UpAtomIs('PLATFORM') or UpAtomIs('UNIMPLEMENTED') or
|
||||||
UpAtomIs('EXPERIMENTAL') or UpAtomIs('LIBRARY') or UpAtomIs('EXTERNAL')
|
UpAtomIs('EXPERIMENTAL') or UpAtomIs('LIBRARY')
|
||||||
then
|
then
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
if CurPos.Flag<>cafSemicolon then
|
if CurPos.Flag<>cafSemicolon then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user