Browse Source

* initialize the defid in trecorddef.create_global_internal as unique_id_str needs it

git-svn-id: trunk@43625 -
svenbarth 5 years ago
parent
commit
ea75253926
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/symdef.pas

+ 1 - 0
compiler/symdef.pas

@@ -4801,6 +4801,7 @@ implementation
           pname:=@n
           pname:=@n
         else
         else
           begin
           begin
+            init_defid;
             name:='$InternalRec'+unique_id_str;
             name:='$InternalRec'+unique_id_str;
             pname:=@name;
             pname:=@name;
           end;
           end;