Compiler does not recognize the last line of a file correctly
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
When compiling a program from IDE FP.EXE, the compiler will not recognize correctly the last line in the source file. For example, if I write a "end." statement and do not press Enter after it, the compiler shows a Fatal Error " '.' expected but end of file found" - no matter how much spaces or even comments I add after it. It simply does not recognize the period after the "end" keyword. However, if I add another empty line after the last line, everything works.
Additional information:
Reporter: Jan Kratky
EMail: kratky at bohmcb dot cz
Mantis conversion info:
- Mantis ID: 2778
- OS: GO32V2
- Version: ?
- Fixed in version: 0.99.13