[Make parsing of class declarations more conformant
Einar Karttunen <ekarttun@cs.helsinki.fi>**20050920084753
 
 Previously jhc expected class declarations of the form:
 class ... where list_of_type_sigs list_of_default_methods.
 This patch fixes this and makes it more like Haskell98:
 class ... where declaration_list
] hunk ./FrontEnd/HsParser.ly 457
->	: 'where' '{' cbody '}'			{ fixupHsDecls $3 }
->	| 'where' layout_on cbody close		{ fixupHsDecls $3 }
+>	: 'where' decllist			{ fixupHsDecls $2 }
hunk ./FrontEnd/HsParser.ly 460
-> cbody :: { [HsDecl] }
->	: cmethods ';' cdefaults optsemi	{ reverse $1 ++ reverse $3 }
->	| cmethods optsemi			{ reverse $1 }
->	| optsemi				{ [] }
-
-> cmethods :: { [HsDecl] }
->	: cmethods ';' signdecl			{ $3 : $1 }
->	| signdecl				{ [$1] }
-
hunk ./FrontEnd/HsParser.ly 461
->	: cdefaults ';' valdef			{ $3 : $1 }
->	| valdef				{ [$1] }
+>      : cdefaults ';' valdef                  { $3 : $1 }
+>      | valdef                                { [$1] }