mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-15 23:20:40 +01:00
codetools: fixed error handling for invalid . operator
git-svn-id: trunk@23512 -
This commit is contained in:
parent
44fe02f669
commit
48254f0c98
@ -6354,11 +6354,11 @@ var
|
||||
ReadNextAtom;
|
||||
RaiseIdentExpected;
|
||||
end;
|
||||
ResolveBaseTypeOfIdentifier;
|
||||
if (ExprType.Context.Node=nil) then begin
|
||||
MoveCursorToCleanPos(CurAtom.StartPos);
|
||||
RaiseIllegalQualifierFound;
|
||||
end;
|
||||
ResolveBaseTypeOfIdentifier;
|
||||
if (ExprType.Context.Node.Desc in AllUsableSourceTypes) then begin
|
||||
// identifier in front of the point is a unit name
|
||||
{$IFDEF ShowExprEval}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user