[CodeTools] Error: no Pascal source found (first element - )
Original Reporter info from Mantis: Maxim @ganmax
-
Reporter name: Maxim Ganetsky
Original Reporter info from Mantis: Maxim @ganmax
- Reporter name: Maxim Ganetsky
Description:
CodeTools show the following error when trying to add to project files from attached source:
Error: no Pascal source found (first element - )
It happens in GDefines.inc file and points to the following line:
{$M Delphi}
I couldn't reproduce it with simpler source.
See also steps to reproduce.
Steps to reproduce:
- Unpack attached source.
- Open cast2/demos/jtest.lpi project.
- Call "add files from directory" in project inspector and point this tool to cast2 directory.
- You will see the error for GDefines.inc file.
Mantis conversion info:
- Mantis ID: 22921
- OS: Windows
- OS Build: XP SP3
- Build: r38737M FPC 2.6.1 i386-win32
- Platform: Win32
- Version: 1.1 (SVN)