From f84ce0e5c2d2c43a4030aeb67e8162101b9b0c90 Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Thu, 3 May 2007 03:11:55 +0000 Subject: [PATCH] Allow empty formal lists too --- fco2/Parse.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fco2/Parse.hs b/fco2/Parse.hs index 2da76f9..34dd268 100644 --- a/fco2/Parse.hs +++ b/fco2/Parse.hs @@ -1431,7 +1431,7 @@ formalList :: OccParser [A.Formal] formalList = do m <- md sLeftR - fs <- formalArgSet + fs <- option [] formalArgSet sRightR return fs "formal list"