Export to GitHub

yhc - issue #60

1e12 parsing issue


Posted on Oct 7, 2006 by Quick Hippo

Both GHC and Hugs parse 1e12 as a number, but Yhc don't.

For example, test = print 1e12 gives: yhc: -- during when renaming Error: Identifier e12 used at 7:15-7:17 is not defined.

Malcolm has a fix we need to apply. We also need to introduce a test case.

Comment #1

Posted on Oct 8, 2006 by Quick Hippo

parsing/literal_rat test case introduced, bug fixed using Malcolm's code.

Status: Fixed

Labels:
Type-Defect Priority-Low Component-Yhc