Browse Source

* missing part of r32617: also load the def for constnil symbols

git-svn-id: trunk@32632 -
Jonas Maebe 9 years ago
parent
commit
a1db947e9e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/symsym.pas

+ 2 - 1
compiler/symsym.pas

@@ -2412,7 +2412,8 @@ implementation
                new(pguid(value.valueptr));
                new(pguid(value.valueptr));
                ppufile.getdata(value.valueptr^,sizeof(tguid));
                ppufile.getdata(value.valueptr^,sizeof(tguid));
              end;
              end;
-           constnil : ;
+           constnil :
+             ppufile.getderef(constdefderef);
            else
            else
              Message1(unit_f_ppu_invalid_entry,tostr(ord(consttyp)));
              Message1(unit_f_ppu_invalid_entry,tostr(ord(consttyp)));
          end;
          end;