codetools: identifier completion: add variant, patch #28615 from Ondrej Pokorny

git-svn-id: trunk@49748 -
This commit is contained in:
mattias 2015-09-03 10:52:20 +00:00
parent 8546093cee
commit 5dadb9fdad

View File

@ -1408,7 +1408,7 @@ begin
for I := Low(I) to High(I) do
begin
case I of
xtChar..xtPointer, xtLongint..xtByte:
xtChar..xtPointer, xtLongint..xtByte, xtVariant:
AddBaseType(PChar(ExpressionTypeDescNames[I]));
xtFile, xtText:
if not (ilcfStartInStatement in CurrentIdentifierList.ContextFlags) then