[fpc-devel] Patch for bug 2453
Tomas Hajny
xhajt03 at vol.cz
Wed Mar 30 14:00:47 CEST 2005
From: "Sterling Bates" <swbates at telus.net>
To: fpc-devel at lists.freepascal.org
Subject: [fpc-devel] Patch for bug 2453
Date: 30.3.2005 - 12:18:36
> This is my first shot, so be gentle :-)
>
> The patch assumes FP wants sufficient compatibility with BP 7.
> If so, it
> fixes two problems; if not, at least it was a fun exercise.
The EOF part looks correctly to me (although I didn't check whether
there aren't other places where the check should be added too). The
current behaviour when the character is recognized in Eof function
(depending on EOF_CTRLZ conditional), but not otherwise, isn't very
consistent, IMHO. However, let's wait what other core team members
would think about it.
Regarding function ReadNumeric, I think there's at least one open
issue there, and that's missing handling of 'e' (or 'E') character
for exponent. I'm not sure whether there are any other allowed
characters, but at least this one should be supported.
Tomas
--
! NOVINKA ! -- SURVIVAL L-Carnitin+Chrom -- Zbav se kil a dej se do
formy! http://www.sportwave.cz
More information about the fpc-devel
mailing list