mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-09 10:19:23 +02:00
codetools: also allow objcprotocol to have external block
git-svn-id: trunk@33660 -
This commit is contained in:
parent
cee09020e8
commit
ee10755fa9
@ -35,6 +35,11 @@ type
|
||||
private
|
||||
end;
|
||||
|
||||
NSAlertDelegateProtocol = objcprotocol external name 'NSAlertDelegate'
|
||||
optional
|
||||
function alertShowHelp(alert: NSAlert): Boolean; message 'alertShowHelp:';
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
||||
end.
|
||||
|
@ -3846,7 +3846,7 @@ begin
|
||||
ReadNextAtom;
|
||||
end;
|
||||
end
|
||||
else if UpAtomIs('EXTERNAL') and (ClassDesc in [ctnObjCClass,ctnObjCCategory]) then
|
||||
else if UpAtomIs('EXTERNAL') and (ClassDesc in [ctnObjCClass,ctnObjCCategory,ctnObjCProtocol]) then
|
||||
begin
|
||||
CreateChildNode;
|
||||
CurNode.Desc:=ctnClassExternal;
|
||||
|
Loading…
Reference in New Issue
Block a user