
2 Nov
2007
2 Nov
'07
2:13 a.m.
Thanks for filing the bug, Ian.
On 31/10/2007, Ian Lynagh
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
-- Robin Bate Boerop