fprcp can not handle multiple includes
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
fprcp does not handle .rc-files with more than one include clause properly.
This is because the "typed constant" "GetWord_Pos" in the procedure "do_pascal" in the unit "pasprep" does not get reset from one call to the next.
It seems that the originator expected locally declared "typed constants" to behave like local variables, but they apparently behave like the local static variables of c.
Additional information:
Reporter: Andreas Hohwü-Christensen
EMail: choriamb at home dot se
Mantis conversion info:
- Mantis ID: 5367
- OS: Win32
- Version: 1.0.10
- Fixed in version: 1.9.5