2
0
Эх сурвалжийг харах

scanner: please do not try to byte swap a byte. not even on big endian.

Karoly Balogh 1 өдөр өмнө
parent
commit
4f1f0d93a5
1 өөрчлөгдсөн 0 нэмэгдсэн , 3 устгасан
  1. 0 3
      compiler/scanner.pas

+ 0 - 3
compiler/scanner.pas

@@ -3309,9 +3309,6 @@ type
 
     procedure tscannerfile.tokenwritebyte(val : byte);
       begin
-{$ifdef FPC_BIG_ENDIAN}
-        val:=swapendian(val);
-{$endif}
         recordtokenbuf.write(val,sizeof(byte));
       end;