projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61882c4
)
[project @ 1999-02-15 14:38:42 by sof]
author
sof
<unknown>
Mon, 15 Feb 1999 14:38:42 +0000
(14:38 +0000)
committer
sof
<unknown>
Mon, 15 Feb 1999 14:38:42 +0000
(14:38 +0000)
Allow empty export lists again
ghc/compiler/parser/hsparser.y
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/hsparser.y
b/ghc/compiler/parser/hsparser.y
index
f2fc70d
..
2e78de7
100644
(file)
--- 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); }
;