mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 13:39:14 +02:00
codetools: allow "helper" variable in object
git-svn-id: trunk@49645 -
This commit is contained in:
parent
410d77a990
commit
348bc7ef4c
@ -4322,7 +4322,8 @@ begin
|
|||||||
EndChildNode;
|
EndChildNode;
|
||||||
IsForward:=false;
|
IsForward:=false;
|
||||||
end;
|
end;
|
||||||
end else if UpAtomIs('HELPER') then begin
|
end else if UpAtomIs('HELPER')
|
||||||
|
and (ClassDesc in [ctnClass,ctnRecordType,ctnTypeType]) then begin
|
||||||
IsHelper:=true;
|
IsHelper:=true;
|
||||||
case ClassDesc of
|
case ClassDesc of
|
||||||
ctnClass: CurNode.Desc:=ctnClassHelper;
|
ctnClass: CurNode.Desc:=ctnClassHelper;
|
||||||
|
Loading…
Reference in New Issue
Block a user