fcl-passrc not support dynarrays in const

fcl-passrc not support dynarrays in const

System Information

  • Operating system: Windows
  • Processor architecture: x86-64
  • Compiler version: trunk
  • Device: Computer

Steps to reproduce

try compile

{$mode delphi}
program test007;
type
   DXFEntDesc=record
     UCASEEntName:String;
   end;
const
     IgnoredDXFEntsArray:array of DXFEntDesc=[
       (UCASEEntName:'HATCH'),
       (UCASEEntName:'ACAD_PROXY_ENTITY')
     ];
begin
end.

fpc - no errors

fcl-passrc - EParseError at line 9 column 21 //(UCASEEntName:<-here

Edited by Andrey Zubarev