[mercury-users] lex bug?

Ralph Becket rafe at cs.mu.OZ.AU
Thu Feb 26 09:02:10 AEDT 2004


Peter Ross, Wednesday, 25 February 2004:
> The attached file parse.m appears to highlight a bug where it lexes the
> string "0+1" as
> 
>     [integer(0), (+), eof]
> 
> while "0+1\n" lexes correctly as 
> 
>     [integer(0), (+), integer(1), eof]
> 
> Is this a bug or a misunderstanding on my part?

No, that appears to be a bug in lex.  I'll look into it today.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list