소스 검색

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

Karoly Balogh 18 시간 전
부모
커밋
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;