on master help sign in
Add deriving as a reserved word
e690c42Evan Czaplicki
compiler/Parse/Helpers.hs+2−1
@@ -21,7 +21,8 @@ reserveds = [ "if", "then", "else"
21 , "data", "type"
21 , "data", "type"
22 , "module", "where"
22 , "module", "where"
23 , "import", "as", "hiding", "open"
23 , "import", "as", "hiding", "open"
24− , "export", "foreign" ]
24+ , "export", "foreign"
25+ , "deriving" ]
25
26
26jsReserveds :: Set.Set String
27jsReserveds :: Set.Set String
27jsReserveds = Set.fromList
28jsReserveds = Set.fromList