소스 검색

* if the generic dummy symbol is a procsym (with procdefs added) then this is the symbol that should be resolved to

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

+ 3 - 0
compiler/pgenutil.pas

@@ -1533,6 +1533,9 @@ uses
                 if not searchsym_with_flags(sym.name,srsym,srsymtable,[ssf_no_addsymref]) then
                 if not searchsym_with_flags(sym.name,srsym,srsymtable,[ssf_no_addsymref]) then
                   srsym:=nil;
                   srsym:=nil;
               end
               end
+            else if (sym.typ=procsym) and
+                (tprocsym(sym).procdeflist.count>0) then
+              srsym:=sym
             else
             else
               { dummy symbol is already not so dummy anymore }
               { dummy symbol is already not so dummy anymore }
               srsym:=nil;
               srsym:=nil;