Przeglądaj źródła

* 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 8 lat temu
rodzic
commit
76f55f2030
1 zmienionych plików z 2 dodań i 0 usunięć
  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;