Browse Source

* fix crash with ident not found

git-svn-id: trunk@2444 -
peter 19 năm trước cách đây
mục cha
commit
4c19728d9b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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