fcl-passrc parser fails on valid source code in interface section
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
fcl-parser fails to parse source code from the MSEide+MSEgui project. More specifically, the kernel/msescrollbar.pas unit.
The error fpdoc gives (which in turn means the fcl-parser):
../msegui/lib/common/kernel/msescrollbar.pas(300,67): Expected "," or ":" at token "." in file ../msegui/lib/common/kernel/msescrollbar.pas at line 300 column 67
The actual code for line 300 looks as follows:
property colorglyph: colorty read fdrawinfo.areas[sbbu_down].ca.colorglyph
write setcolorglyph default cl_glyph;
Column 67 refers to the dot after ".ca." in the property line.
This code compiles just fine with FPC v2.6.4, v3.0.0, so I assume FPC 3.1.1 shouldn't have a problem with it either.
Mantis conversion info:
- Mantis ID: 30759
- OS: FreeBSD
- OS Build: 10.3
- Build: r34715
- Platform: x86_64
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 35522 (#aa769348)
- Target version: 3.2.0