fcl-passrc errors
Original Reporter info from Mantis: zamtmn @zamtmn
-
Reporter name: Andrey Zubarev
Original Reporter info from Mantis: zamtmn @zamtmn
- Reporter name: Andrey Zubarev
Description:
Function declarations and generics specializations cause errors in delphi mode. Also error with str procedure.
In this example, the fcl-passrc finds 3 errors. But they are not there:
8<----cut here----
unit passrcerrors;
{$mode delphi}
interface
uses
Classes, SysUtils, fgl;
type TMyList=TFPGList<integer>;//<--------Identifier expected at token ";"
function TestDelphiModeFuncs(d:double):string;
implementation
function TestDelphiModeFuncs;//<--------Expected ":" at token ";"
begin
str(d:3:3,result);//<--------Expected ";" at token ":"
end;
end.
8<----cut here----
Mantis conversion info:
- Mantis ID: 30615
- Fixed in version: 3.1.1
- Fixed in revision: 34691 (#eae7b336)