소스 검색

Don't push the local symtable of the current module, but of that module the generic belongs to (should fix compilation error of Lazarus).

git-svn-id: trunk@19771 -
svenbarth 13 년 전
부모
커밋
b240dc129f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/pgenutil.pas

+ 1 - 1
compiler/pgenutil.pas

@@ -343,7 +343,7 @@ uses
 
             { push the localsymtable if needed }
             if (hmodule<>current_module) or not current_module.in_interface then
-              symtablestack.push(current_module.localsymtable);
+              symtablestack.push(hmodule.localsymtable);
 
             { push a temporary global symtable so that the specialization is
               added to the correct symtable; this symtable does not contain