mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-23 11:39:09 +02:00
codetools: parse external class const
git-svn-id: trunk@57954 -
This commit is contained in:
parent
167c4c911d
commit
d36c84686d
@ -1664,8 +1664,8 @@ begin
|
||||
NewItem.IdentifierStartInUnitName := 1;
|
||||
{$IFDEF VerboseICGatherUnitNames}
|
||||
//debugln(['TIdentCompletionTool.GatherUnitnames Add ',UnitFileInfo.FileUnitName,' NewCount=',CurrentIdentifierList]);
|
||||
CurrentIdentifierList.Add(NewItem);
|
||||
{$ENDIF}
|
||||
CurrentIdentifierList.Add(NewItem);
|
||||
end;
|
||||
end;
|
||||
if FIDTTreeOfNamespaces<>nil then
|
||||
|
@ -4030,7 +4030,11 @@ begin
|
||||
end;
|
||||
end else begin
|
||||
UndoReadNextAtom;
|
||||
SaveRaiseCharExpectedButAtomFound(20180507200240,'=');
|
||||
if (CurNode.Parent.Desc=ctnConstSection)
|
||||
and (CurNode.Parent.Parent.Desc in AllClassBaseSections) then
|
||||
// ok
|
||||
else
|
||||
SaveRaiseCharExpectedButAtomFound(20180507200240,'=');
|
||||
end;
|
||||
end else
|
||||
ReadConstExpr;
|
||||
|
Loading…
Reference in New Issue
Block a user