Just investigated a bit further. The Lexer.x error goes away if you install the version of Alex at
https://github.com/jyp/Alex/tree/utf8 My compiler (7.0.3, installed from the GHC web site the deb was not in testing before), using locale en_ZA.utf8 does not complain about the epsilon symbol in the comment around 12.4 I can try again against the current ghc in testing, I see it came available today. Alan On Sat, Jun 11, 2011 at 8:40 PM, Alan & Kim Zimmerman <[email protected]>wrote: > Hi Clint/Philip > > What version of GHC are you using? > > Also, the package can only build against a specific branch of Alex on > github, to provide the full unicode support. > > Have you cloned it on github? > > Alan > > > On Sat, Jun 11, 2011 at 8:24 PM, Philip Weaver <[email protected]>wrote: > >> I think you want one of these LANGUAGE pragmas: >> >> ExplicitForAll >> ScopedTypeVariables >> >> There might be one more that applies here that I'm not thinking of. >> >> - Philip >> >> On Sat, Jun 11, 2011 at 11:06 AM, Clint Adams <[email protected]> wrote: >> >>> I'm trying to package language-javascript 0.4.4 for Debian and I'm >>> running into some trouble. >>> >>> The first problem is that it gets upset about an invalid character >>> on the lookahead line after 12.4 in >>> src/Language/JavaScript/Parser/Grammar5.y >>> >>> Removing that, it continues and then fails because of >>> >>> src/Language/JavaScript/Parser/Lexer.x:362:40: >>> Illegal symbol '.' in type >>> Perhaps you intended -XRankNTypes or similar flag >>> to enable explicit-forall syntax: forall <tvs>. <type> >>> >>> >>> I tried putting >>> {-# LANGUAGE RankNTypes #-} >>> at the top, but it still wouldn't build. >>> >>> Can you help? >>> >>> >>> -- >>> To UNSUBSCRIBE, email to [email protected] >>> with a subject of "unsubscribe". Trouble? Contact >>> [email protected] >>> Archive: http://lists.debian.org/[email protected] >>> >>> >> >
