Add support for Data.Char.generalCategory to libcompat
authorSimon Marlow <simonmar@microsoft.com>
Wed, 1 Mar 2006 11:35:36 +0000 (11:35 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 1 Mar 2006 11:35:36 +0000 (11:35 +0000)
commit8e59ba46e26979cc11fa71e3f67aebbe6da4e8d6
tree3bf6c6826c01272f0fba20bfe64339e3f7037215
parent080c9600d0ca63cc4125c6d2957ed8336b311c76
Add support for Data.Char.generalCategory to libcompat

this is so that the stage1 compiler has proper support for Unicode.
Should fix these errors:

  lexical error in string/character literal at character '\8759'

when building the stage2 compiler.
ghc/compiler/parser/Lexer.x
ghc/lib/compat/Compat/Unicode.hs [new file with mode: 0644]
ghc/lib/compat/Makefile
ghc/lib/compat/cbits/unicode.c [new file with mode: 0644]