Procházet zdrojové kódy

* fix crash with ident not found

git-svn-id: trunk@2444 -
peter před 19 roky
rodič
revize
4c19728d9b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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