[cvs-nhc98] cvs commit: nhc98/src/compiler98 LexLow.hs
Malcolm Wallace
malcolm at haskell.org
Tue Jun 14 06:25:53 EDT 2005
malcolm 2005/06/14 03:25:53 PDT
Modified files:
src/compiler98 LexLow.hs
Log:
Fix lexical error (masquerading as a parse error) with an underscore
pattern e.g. "f _2a", when the -underscore flag is off (the default).
Because the character following the underscore is neither lower nor
upper, nhc98's special treatment (ignore the underscore in deciding
whether it is a conid or varid) does not apply. Thus, drop through to
the standard H'98 behaviour of underscore=lowercase, therefore a varid.
Revision Changes Path
1.10 +2 -1 nhc98/src/compiler98/LexLow.hs
More information about the Cvs-nhc98
mailing list