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
_______________________________________________
Libraries mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/libraries