From 5ae7be358daf169a3852d93f36c30c4ce7d0363e Mon Sep 17 00:00:00 2001 From: krasimir Date: Thu, 1 Jul 2010 08:51:59 +0000 Subject: redesign the open-literals API --- src/compiler/GFI.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GFI.hs') diff --git a/src/compiler/GFI.hs b/src/compiler/GFI.hs index a98f1cd39..b844c4654 100644 --- a/src/compiler/GFI.hs +++ b/src/compiler/GFI.hs @@ -314,7 +314,7 @@ wordCompletion gfenv (left,right) = do Nothing -> error ("Can't parse '"++str++"' as type") loop ps [] = Just ps - loop ps (t:ts) = case nextState ps t of + loop ps (t:ts) = case nextState ps (simpleParseInput t) of Left es -> Nothing Right ps -> loop ps ts -- cgit v1.2.3