JCF fails in include files
Original Reporter info from Mantis: Valdas
-
Reporter name: Valdas Jankūnas
Original Reporter info from Mantis: Valdas
- Reporter name: Valdas Jankūnas
Description:
If you have an include file in project and if you want apply JCF on that include file then JCF fails with message like:
include_file.inc(5,1) Error: Exception TEParseError Expected program, package, library, unit, got "ttProcedure" Near PROCEDURE
Steps to reproduce:
- load attached project;
- open include file tab "include_file.inc";
- place cursor there;
- execute JCF for this file (Ctrl+D): JCF aborts with exception "include_file.inc(5,1) Error: Exception TEParseError Expected program, package, library, unit, got "ttProcedure" Near PROCEDURE"
Mantis conversion info:
- Mantis ID: 27083
- OS: Kubuntu 14.04
- Build: Lazarus 1.3 r46976M FPC 2.6.2 x8
- Platform: linux 64bit
- Version: 1.3 (SVN)