소스 검색

* 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 년 전
부모
커밋
3f436deb16
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compiler/symtable.pas

+ 1 - 0
compiler/symtable.pas

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