|   {- A comment, isn't it? -}
|despite the unmatched single quote.

Actually, shouldn't "isn't" be parsed as a single varid?  From the 1.4
report:

"An identifier consists of a letter followed by zero or more letters,
digits, underscores, and single quotes."

I don't know of anywhere in the report that mentions a single quote
can only appear at the _end_ of a varid: Or have I missed that?  I
think it's just a tradition.  The lexical rules of the 1.4 report
certainly don't exclude "isn't" from being a varid:

varid -> (small {small | large | udigit | ' | _})<reservedid> 

Graeme.


Reply via email to