* fix crash with ident not found

git-svn-id: trunk@2444 -
This commit is contained in:
peter 2006-02-05 20:05:45 +00:00
parent bc18d6eb8a
commit 4c19728d9b

View File

@ -187,9 +187,9 @@ implementation
exit;
end;
searchsym(pattern,srsym,srsymtable);
check_hints(srsym,srsym.symoptions);
if assigned(srsym) then
begin
check_hints(srsym,srsym.symoptions);
if (srsym.typ=unitsym) then
begin
if not(srsym.owner.symtabletype in [staticsymtable,globalsymtable]) then