fcl-passrc fails with lack of a semicolon in case-else
Original Reporter info from Mantis: zamtmn @zamtmn
-
Reporter name: Andrey Zubarev
Original Reporter info from Mantis: zamtmn @zamtmn
- Reporter name: Andrey Zubarev
Description:
program Project1;
function test:TMyType;
begin
case KeyCode of
MK_NUMPAD0: VKKeyCode:=VK_NUMPAD0
else VKKeyCode:=ord(VKKeyChar);
end;
end;
begin
end.
return Syntax error at token "else" at line 6 column 8
Mantis conversion info:
- Mantis ID: 31284
- Fixed in version: 3.1.1
- Fixed in revision: 35362 (#f55215f5)
- Target version: 3.2.0