Jelajahi Sumber

- removed internal error if savesize of tfiledef is 0 when writing the def
to the ppu file, because it does not exist on the JVM platform and
hence will be 0 (and on other platforms, you'll get a fatal error earlier
in case the filerec type cannot be found) (originally added as part of
r24957)

git-svn-id: branches/cpstrrtl@24990 -

Jonas Maebe 12 tahun lalu
induk
melakukan
7659bfc01b
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  1. 0 2
      compiler/symdef.pas

+ 0 - 2
compiler/symdef.pas

@@ -2644,8 +2644,6 @@ implementation
 
     procedure tfiledef.ppuwrite(ppufile:tcompilerppufile);
       begin
-         if savesize=0 then
-           internalerror(201305131);
          inherited ppuwrite(ppufile);
          ppufile.putbyte(byte(filetyp));
          if filetyp=ft_typed then