>>>>> "Simon" == Simon Peyton-Jones <[EMAIL PROTECTED]> writes:
>> I don't understand this remark. Are you telling me that after
>> a '{-' token the usual lexical process is used to find the
>> matching '-}' token?
Simon> That's what I intended. Provided that scanning can't given
This is highly unusual. It is definitely different from what people
with experience in C and friends expect. If you write the following in C
/* printf ("finished writing comment */");
*/
you'll get a nice syntax error. Indeed the lexical spec says that
/* {any char sequence not containing */} */
is a comment.
Cheers
Peter
- Haskell 98 progress... Simon Peyton-Jones
- Re: Haskell 98 progress... Hans Aberg
- Re: Haskell 98 progress... Jeffrey R. Lewis
- Re: Haskell 98 progress... Hans Aberg
- Re: Haskell 98 progress... Jeffrey R. Lewis
- RE: Haskell 98 progress... Simon Peyton-Jones
- Re: Haskell 98 progress... Lennart Augustsson
- RE: Haskell 98 progress... Simon Peyton-Jones
- Re: Haskell 98 progress... Peter Thiemann
- Re: Haskell 98 progress... Lennart Augustsson
- Re: Haskell 98 progress... Lennart Augustsson
- RE: Haskell 98 progress... Simon Peyton-Jones
- RE: Haskell 98 progress... S. Alexander Jacobson
- Re: Haskell 98 progress... Andreas Rossberg
- Re: Haskell 98 progress... Peter Thiemann
- Re: Haskell 98 progress... Jon . Fairbairn
- Re: Haskell 98 progress... Graeme Moss
- Re: Haskell 98 progress... Graeme Moss
