Преглед на файлове

Read the deref of the fieldvarsym into the correct variable. I wonder how this ever went past the test suite O.o

symsym.pas, tstaticvarsym.ppuload:
  * read the deref of the fieldvarsym into fieldvarsymderef, not defaultconstsymderef

git-svn-id: trunk@27826 -
svenbarth преди 11 години
родител
ревизия
2c6d3f1428
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/symsym.pas

+ 1 - 1
compiler/symsym.pas

@@ -1842,7 +1842,7 @@ implementation
 {$endif symansistr}
 {$endif symansistr}
          if vo_has_section in varoptions then
          if vo_has_section in varoptions then
            section:=ppufile.getansistring;
            section:=ppufile.getansistring;
-         ppufile.getderef(defaultconstsymderef);
+         ppufile.getderef(fieldvarsymderef);
          ppuload_platform(ppufile);
          ppuload_platform(ppufile);
       end;
       end;