Browse Source

Fix compilation

pkgutil.pas:
  * export_unit: forgot loop variable

git-svn-id: branches/svenbarth/packages@28855 -
svenbarth 10 years ago
parent
commit
42757953a5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/pkgutil.pas

+ 2 - 0
compiler/pkgutil.pas

@@ -174,6 +174,8 @@ implementation
 
 
 
 
   procedure export_unit(u: tmodule);
   procedure export_unit(u: tmodule);
+    var
+      i : longint;
     begin
     begin
       u.globalsymtable.symlist.ForEachCall(@insert_export,u.globalsymtable);
       u.globalsymtable.symlist.ForEachCall(@insert_export,u.globalsymtable);
       { check localsymtable for exports too to get public symbols }
       { check localsymtable for exports too to get public symbols }