fcl-passrc record sections in nested functions fail to parse
Original Reporter info from Mantis: ryan_joseph @genericptr
-
Reporter name: Ryan Joseph
Original Reporter info from Mantis: ryan_joseph @genericptr
- Reporter name: Ryan Joseph
Description:
Sections in records which are nested inside functions produce errors.
{$mode objfpc}
{$modeswitch advancedrecords}
program bugs;
procedure DoThis;
type
TMyRecord = record
// ERROR HERE
private
x, y, z: integer;
end;
begin
end;
begin
end.
Steps to reproduce:
Use test.pas to parse the bug file.
Mantis conversion info:
- Mantis ID: 36179
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 43228 (#06f0d7ce)
- Target version: 3.2.0