>>>>> "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


Reply via email to