codetools: fixed error handling for invalid . operator

git-svn-id: trunk@23512 -
This commit is contained in:
mattias 2010-01-20 23:12:24 +00:00
parent 44fe02f669
commit 48254f0c98

View File

@ -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}