@@ -0,0 +1,39 @@
2+diff -ru orig/language-javascript.cabal new/language-javascript.cabal
3+--- orig/language-javascript.cabal 2013-12-09 14:11:28.596175378 +0200
4++++ new/language-javascript.cabal 2013-12-09 14:11:28.000000000 +0200
8+ Build-depends: base >= 4 && < 5
9+- , array >= 0.3 && < 0.5
10++ , array >= 0.3 && < 0.6
11+ , mtl >= 1.1 && < 2.9
12+ , containers >= 0.2 && < 0.6
13+ , utf8-light >= 0.4 && < 1.0
14+diff -ru orig/src/Language/JavaScript/Parser/Lexer.hs new/src/Language/JavaScript/Parser/Lexer.hs
15+--- orig/src/Language/JavaScript/Parser/Lexer.hs 2013-12-09 14:11:28.592175378 +0200
16++++ new/src/Language/JavaScript/Parser/Lexer.hs 2013-12-09 14:11:27.000000000 +0200
18+-{-# LANGUAGE CPP,MagicHash #-}
19++{-# LANGUAGE BangPatterns, CPP,MagicHash #-}
20+ {-# LINE 1 "src-dev/Language/JavaScript/Parser/Lexer.x" #-}
26+ (base) = alexIndexInt32OffAddr alex_base s
27+- ((I# (ord_c))) = fromIntegral c
28++ !((I# (ord_c))) = fromIntegral c
29+ (offset) = (base +# ord_c)
30+ (check) = alexIndexInt16OffAddr alex_check offset
32++#if MIN_VERSION_base(4, 7, 0)
33++ (new_s) = if (I# (offset >=# 0#) /= 0) && (I# (check ==# ord_c) /= 0)
35+ (new_s) = if (offset >=# 0#) && (check ==# ord_c)
37+ then alexIndexInt16OffAddr alex_table offset
38+ else alexIndexInt16OffAddr alex_deflt s