Browse Source

* set the visibility of a newly create staticsymtable to vis_private
(it's used for the implementation section, corrects the visibility
of functions in the implementation of Pascal units for the JVM target)

git-svn-id: branches/jvmbackend@18433 -

Jonas Maebe 14 years ago
parent
commit
3f436deb16
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/symtable.pas

+ 1 - 0
compiler/symtable.pas

@@ -1479,6 +1479,7 @@ implementation
         inherited create(n,id);
         symtabletype:=staticsymtable;
         symtablelevel:=main_program_level;
+        currentvisibility:=vis_private;
       end;