소스 검색

* set the realname of the reused generic dummy symbol to the parsed name as the casing might differ from the generic that triggered the creation of said dummy symbol

git-svn-id: trunk@34528 -
svenbarth 9 년 전
부모
커밋
76f55f2030
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      compiler/pdecl.pas

+ 2 - 0
compiler/pdecl.pas

@@ -647,6 +647,8 @@ implementation
                         declaration, reuse it }
                       newtype:=ttypesym(sym);
                       newtype.typedef:=hdef;
+                      { use the correct casing }
+                      newtype.RealName:=genorgtypename;
                       sym:=nil;
                     end;