@@ -0,0 +1,39 @@
1+Only in new: dist
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
5+@@ -30,7 +30,7 @@
6+
7+ Library
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
17+@@ -1,4 +1,4 @@
18+-{-# LANGUAGE CPP,MagicHash #-}
19++{-# LANGUAGE BangPatterns, CPP,MagicHash #-}
20+ {-# LINE 1 "src-dev/Language/JavaScript/Parser/Lexer.x" #-}
21+
22+
23+@@ -708,11 +708,15 @@
24+
25+ let
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
31+
32++#if MIN_VERSION_base(4, 7, 0)
33++ (new_s) = if (I# (offset >=# 0#) /= 0) && (I# (check ==# ord_c) /= 0)
34++#else
35+ (new_s) = if (offset >=# 0#) && (check ==# ord_c)
36++#endif
37+ then alexIndexInt16OffAddr alex_table offset
38+ else alexIndexInt16OffAddr alex_deflt s
39+ in