Allow empty formal lists too

This commit is contained in:
Adam Sampson 2007-05-03 03:11:55 +00:00
parent 4b0e02a4ce
commit f84ce0e5c2

View File

@ -1431,7 +1431,7 @@ formalList :: OccParser [A.Formal]
formalList
= do m <- md
sLeftR
fs <- formalArgSet
fs <- option [] formalArgSet
sRightR
return fs
<?> "formal list"