浏览代码

* fix crash with ident not found

git-svn-id: trunk@2444 -
peter 19 年之前
父节点
当前提交
4c19728d9b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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