fcl-passrc error in asm block with if-then
Original Reporter info from Mantis: zamtmn @zamtmn
-
Reporter name: Andrey Zubarev
Description:
program test;
{$MODE DELPHI}
function Get8087StatusWord(ClearExceptions: Boolean): Word;
begin
if ClearExceptions then
asm
end
else
asm
end;
end;
begin
end.
Gives "Syntax error at token "else" in file E:\zcad\other\pudgb\passrcerrors.pas at line 8 column 6"
Mantis conversion info:
-
Mantis ID: 31700
-
Fixed in version: 3.1.1
-
Fixed in revision: 35915 (#6f951e7b)
-
Target version: 3.2.0