parsec:Text.ParserCombinators.Parsec.Token wibble

20 Feb
2009
20 Feb
'09
1:55 p.m.
Hi, the ASCII caret escape handling in the above module's makeTokenParser isn't quite right -- off by one, and only supporting A-Z carets. Could someone with privs (and maintainership badge) commit the following tweak? foo$ darcs whatsnew hunk ./Text/ParserCombinators/Parsec/Token.hs 196 - ; code <- upper - ; return (toEnum (fromEnum code - fromEnum 'A')) + ; code <- (oneOf ['@'..'_']) <|> char '?' + ; return (if code == '?' then '\DEL' else toEnum (fromEnum code - fromEnum '@')) cheers --sigbjorn
5935
Age (days ago)
5935
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sigbjorn Finne