* write assembler error at the correct position, first fix for #12595

git-svn-id: trunk@12157 -
This commit is contained in:
florian 2008-11-18 16:08:22 +00:00
parent d6b3d5dd38
commit 145dc4d8d6

View File

@ -1180,12 +1180,12 @@ implementation
optimize } optimize }
if (Insentry=nil) or ((InsEntry^.flags and IF_PASS2)<>0) then if (Insentry=nil) or ((InsEntry^.flags and IF_PASS2)<>0) then
begin begin
current_filepos:=fileinfo;
{ We need intel style operands } { We need intel style operands }
SetOperandOrder(op_intel); SetOperandOrder(op_intel);
{ create the .ot fields } { create the .ot fields }
create_ot(objdata); create_ot(objdata);
{ set the file postion } { set the file postion }
current_filepos:=fileinfo;
end end
else else
begin begin