From: sof Date: Mon, 15 Feb 1999 14:38:42 +0000 (+0000) Subject: [project @ 1999-02-15 14:38:42 by sof] X-Git-Tag: Approximately_9120_patches~6553 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=acf5b0e4df9f410e92cf8e4fa9a85361adbfa759;p=ghc-hetmet.git [project @ 1999-02-15 14:38:42 by sof] Allow empty export lists again --- diff --git a/ghc/compiler/parser/hsparser.y b/ghc/compiler/parser/hsparser.y index f2fc70d..2e78de7 100644 --- a/ghc/compiler/parser/hsparser.y +++ b/ghc/compiler/parser/hsparser.y @@ -352,6 +352,7 @@ interface_pragma : /* empty */ ; maybeexports : /* empty */ { $$ = mknothing(); } + | OPAREN CPAREN { $$ = mknothing(); } | OPAREN export_list CPAREN { $$ = mkjust($2); } | OPAREN export_list COMMA CPAREN { $$ = mkjust($2); } ;