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

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to