> Come to think of it, that's good:
> 
>       {- This is a string "-}" burble -}
> 
> would now not be confused by the quoted -}; the lexeme is
> a string not a '-}' thing.
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?
If that is the case (which it didn't use to be AFAIK) the you
need to spell out exactly how to lex in comments.  I don't
want my comments to obey Haskell lexical rules, e.g., this should
be allow
   {- A comment, isn't it? -}
despite the unmatched single quote.

        -- Lennart


Reply via email to