Browse Source

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 years ago
parent
commit
2c6d3f1428
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/symsym.pas

+ 1 - 1
compiler/symsym.pas

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