* don't corrupt the assembler reader mode on i386 and i8086 if the syntax

mode is set to something else but Delphi on the command line

git-svn-id: trunk@41422 -
This commit is contained in:
Jonas Maebe 2019-02-23 16:03:25 +00:00
parent 4e5f48a25e
commit ba22fe74c7

View File

@ -572,13 +572,15 @@ implementation
{ Default to intel assembler for delphi/tp7 on i386/i8086 }
if (m_delphi in current_settings.modeswitches) or
(m_tp7 in current_settings.modeswitches) then
begin
{$ifdef i8086}
current_settings.asmmode:=asmmode_i8086_intel;
current_settings.asmmode:=asmmode_i8086_intel;
{$else i8086}
current_settings.asmmode:=asmmode_i386_intel;
current_settings.asmmode:=asmmode_i386_intel;
{$endif i8086}
if changeinit then
init_settings.asmmode:=current_settings.asmmode;
if changeinit then
init_settings.asmmode:=current_settings.asmmode;
end;
{$endif i386 or i8086}
{ Exception support explicitly turned on (mainly for macpas, to }