codetools: fixed FixAliasDefintions for typecasts to const

git-svn-id: trunk@12426 -
This commit is contained in:
mattias 2007-10-12 19:40:05 +00:00
parent 10750bea84
commit c95365d362

View File

@ -1414,7 +1414,7 @@ var
if WordIsKeyWord.DoIt(@Src[ReferingPos]) then exit;
// this is a type cast
NeededType:=ctnConstDefinition;
GetReferingNode;
//GetReferingNode;
if (ReferingNode<>nil) then begin
// ToDo: check if it is a typecast to a procedure type
// then the alias should be replaced with a procdure