
31 Oct
2007
31 Oct
'07
4:43 p.m.
On Wed, Oct 31, 2007 at 02:46:13PM +0000, Malcolm Wallace wrote:
Yes at the moment we allow LANGUAGE language but not Language or LanGUAge
Being allowed to write Language would be nice
I concur. Surely it is easy to just (map toLower) over the pragma identifier before comparison with known pragma names?
Currently the lexer looks for them as regexps, e.g. "{-#" $whitechar* (LANGUAGE|language) { token ITlanguage_prag } I've filed a bug for this here: http://hackage.haskell.org/trac/ghc/ticket/1817 Thanks Ian