compiler: fix typo

git-svn-id: trunk@16645 -
This commit is contained in:
paul 2010-12-27 03:43:42 +00:00
parent 51a9d3280c
commit e098046608

View File

@ -1383,7 +1383,7 @@ implementation
begin
found:=false;
for i := 0 to pd.parast.SymList.Count - 1 do
if tparavarsym(pd.parast.SymList[0]).vardef=pd.struct then
if tparavarsym(pd.parast.SymList[i]).vardef=pd.struct then
begin
found:=true;
break;