what -I- consider a bug in *cabe

Jay R. Ashworth jra at baylink.com
Sun Jun 3 07:26:43 PDT 2007


On Sat, Jun 02, 2007 at 03:20:45PM -0400, Fairlight wrote:
> There have been examples of "typo" or semantic type bugs that fP -does-
> catch that I was trying to think of last night.  Things that specifically
> make me think, "Gee, if it goes this far, certainly it should check for a
> non-numeric argument as a sole string literal in a place where a numeric is
> required."  Emphasis on -sole string literal-.  I take your point about
> runtime expression evaluation, but if it were just a single string literal
> there, there's no evaluating to be done--it's correct or it's not.

"a quoted literal that can only be numeric" is a syntactical particle
that... I don't think I've ever seen in any other language.  So it
doesn't surprise me that the lexer misses it.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274


More information about the Filepro-list mailing list