floating point literals
Dean Herington
heringto at cs.unc.edu
Tue Mar 18 12:44:33 EST 2003
Simon Marlow wrote:
> > On Mon, Mar 17, 2003 at 10:33:47AM +0000, Ross Paterson wrote:
> > > GHC doesn't recognize literals like 9e2, and nor does lex.
> >
> > Correction:
> > GHC doesn't recognize 9e2
> > lex is confused by 0xy, 0oy, 9e+y and 9.0e+y
>
> Fixed GHC, I'll leave lex to someone more familiar with the code...
>
> Cheers,
> Simon
Forgive me if I'm confused, but I thought "9e2" was supposed to be
parsed as two lexemes, "9" and "e2".
Dean
More information about the Glasgow-haskell-bugs
mailing list