Browse Source

* always build deref info for localst

git-svn-id: trunk@3446 -
peter 19 years ago
parent
commit
36a57726ac
1 changed files with 3 additions and 4 deletions
  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;