[fpc-pascal] Reading past end of file, no error

Tom Verhoeff T.Verhoeff at tue.nl
Fri Sep 9 12:28:00 CEST 2005


On Thu, Sep 08, 2005 at 02:26:02PM +0200, Tom Verhoeff wrote:
> On Wed, Sep 07, 2005 at 07:12:37PM +0200, Jonas Maebe wrote:
> > 
> > On 07 Sep 2005, at 17:13, Tom Verhoeff wrote:
> > 
> > >At some point in the 1.9 branch, this changed (and now it bites me).
> > >Now it silently assigns 0 to i on the second read.  Even with -Ci as
> > >option or {$I+}.
> > 
> > This was a bug in 2.0 which has been fixed for 2.0.1 already.
> 
> It is still in 2.0.1 [2005/06/01] for i386, which does have a fix for
> another problem at the end of a file (viz. reading when the last line
> is not terminated by an eoln marker).

We downloaded the latest snapshot from svn:

	Free Pascal Compiler version 2.0.1 [2005/09/09] for i386

and it still does not give the expected runtime error.  I will submit
a bug report.

	Tom
-- 
E-MAIL: T.Verhoeff @ TUE.NL     | Fac. of Math. & Computing Science
PHONE:  +31 40 247 41 25        | Eindhoven University of Technology
FAX:    +31 40 247 54 04        | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/  | The Netherlands



More information about the fpc-pascal mailing list