Browse Source

* fix crash with ident not found

git-svn-id: trunk@2444 -
peter 19 years ago
parent
commit
4c19728d9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pbase.pas

+ 1 - 1
compiler/pbase.pas

@@ -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