codetools: fix smarthint for sets

git-svn-id: trunk@51424 -
This commit is contained in:
ondrej 2016-01-26 18:36:23 +00:00
parent f2bfc63670
commit f2bd239ee0

View File

@ -3119,7 +3119,7 @@ begin
begin begin
if (Length(Result) > 0) and (Result[Length(Result)] = ';') then//delete last ";" from set if (Length(Result) > 0) and (Result[Length(Result)] = ';') then//delete last ";" from set
Delete(Result, Length(Result), 1); Delete(Result, Length(Result), 1);
ReadNextAtom;
SetStr := ProceedWithSmartHint(Self); SetStr := ProceedWithSmartHint(Self);
if (Length(SetStr) > 2) and (SetStr[2] = '=') then if (Length(SetStr) > 2) and (SetStr[2] = '=') then
SetStr := Copy(SetStr, 4, High(Integer)); SetStr := Copy(SetStr, 4, High(Integer));