瀏覽代碼

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;