mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 04:09:20 +02:00
codetools: fixed parsing properties of class interfaces
git-svn-id: trunk@11835 -
This commit is contained in:
parent
0d150f7df9
commit
896b613597
@ -26,10 +26,10 @@
|
||||
</RunParams>
|
||||
<RequiredPackages Count="2">
|
||||
<Item1>
|
||||
<PackageName Value="CodeTools"/>
|
||||
<PackageName Value="LCL"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<PackageName Value="LCL"/>
|
||||
<PackageName Value="CodeTools"/>
|
||||
</Item2>
|
||||
</RequiredPackages>
|
||||
<Units Count="3">
|
||||
|
@ -1838,7 +1838,7 @@ function TPascalParserTool.KeyWordFuncClassProperty: boolean;
|
||||
end;
|
||||
|
||||
begin
|
||||
if not (CurNode.Desc in AllClassBaseSections) then
|
||||
if not (CurNode.Desc in (AllClassBaseSections+[ctnClassInterface])) then
|
||||
RaiseIdentExpectedButAtomFound;
|
||||
// create class method node
|
||||
CreateChildNode;
|
||||
|
Loading…
Reference in New Issue
Block a user