From 145dc4d8d673f4ff89b39b4abb1adf15f6122b2c Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 18 Nov 2008 16:08:22 +0000 Subject: [PATCH] * write assembler error at the correct position, first fix for #12595 git-svn-id: trunk@12157 - --- compiler/x86/aasmcpu.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/x86/aasmcpu.pas b/compiler/x86/aasmcpu.pas index 71a2d6d88a..ebb6897241 100644 --- a/compiler/x86/aasmcpu.pas +++ b/compiler/x86/aasmcpu.pas @@ -1180,12 +1180,12 @@ implementation optimize } if (Insentry=nil) or ((InsEntry^.flags and IF_PASS2)<>0) then begin + current_filepos:=fileinfo; { We need intel style operands } SetOperandOrder(op_intel); { create the .ot fields } create_ot(objdata); { set the file postion } - current_filepos:=fileinfo; end else begin