File tree 3 files changed +7
-3
lines changed
src/Language/JavaScript/Parser
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ dependency in the cabal file.
35
35
36
36
Changes
37
37
38
+ 0.5.5 Updated version ranges for GHC 7.6.1, courtesy of @mietek
39
+ Note: requires alex 3.0.1 for development (not install)
40
+
38
41
0.5.4 Fixed bug where lexer switches to regexp mode after a ']'
39
42
char, reported by @aszlig
40
43
Original file line number Diff line number Diff line change 1
1
Name : language-javascript
2
- Version : 0.6.0
2
+ Version : 0.5.5
3
3
Synopsis : Parser for JavaScript
4
4
Description : Parses Javascript into an Abstract Syntax Tree (AST). Initially intended as frontend to hjsmin.
5
5
.
@@ -39,6 +39,7 @@ Library
39
39
, bytestring >= 0.9.1 && < 1
40
40
, utf8-string >= 0.3.7 && < 1
41
41
build-tools : happy >= 1.18.5
42
+ , alex == 3.0.1
42
43
hs-source-dirs : src
43
44
Exposed-modules : Language.JavaScript.Parser
44
45
Language.JavaScript.Parser.Parser
@@ -70,6 +71,8 @@ Test-Suite test-language-javascript
70
71
, utf8-string >= 0.3.7 && < 1
71
72
, bytestring >= 0.9.1 && < 1
72
73
, blaze-builder >= 0.2 && < 1
74
+ -- need our own library for tests
75
+ , language-javascript >= 0.5.5
73
76
hs-source-dirs : . src ./dist/build
74
77
75
78
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ import GlaExts
42
42
#endif
43
43
{-# LINE 1 "templates/wrappers.hs" #-}
44
44
{-# LINE 1 "templates/wrappers.hs" #-}
45
- {-# LINE 1 "<built-in>" #-}
46
45
{-# LINE 1 "<command-line >" #-}
47
46
{-# LINE 1 "templates/wrappers.hs" #-}
48
47
-- -----------------------------------------------------------------------------
@@ -590,7 +589,6 @@ alex_action_58 = adapt (symbolToken RightParenToken)
590
589
alex_action_59 = adapt (symbolToken CondcommentEndToken )
591
590
{-# LINE 1 "templates/GenericTemplate.hs" #-}
592
591
{-# LINE 1 "templates/GenericTemplate.hs" #-}
593
- {-# LINE 1 "<built-in>" #-}
594
592
{-# LINE 1 "<command-line >" #-}
595
593
{-# LINE 1 "templates/GenericTemplate.hs" #-}
596
594
-- -----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments