瀏覽代碼

* always build deref info for localst

git-svn-id: trunk@3446 -
peter 19 年之前
父節點
當前提交
36a57726ac
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      compiler/symdef.pas

+ 3 - 4
compiler/symdef.pas

@@ -3662,10 +3662,9 @@ implementation
 
          inherited buildderefimpl;
 
-         { Locals }
-         if assigned(localst) and
-            ((po_has_inlininginfo in procoptions) or
-             ((current_module.flags and uf_local_browser)<>0)) then
+         { Locals, always build deref info it might be needed
+           if the unit needs to be reloaded }
+         if assigned(localst) then
            begin
              tlocalsymtable(localst).buildderef;
              tlocalsymtable(localst).buildderefimpl;