From 31856ebb4cf9aa181b2875c88e964cefae319c96 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 19 May 2010 12:31:36 +0000 Subject: now the parser could return partial parse results --- src/runtime/haskell/PGF.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/haskell/PGF.hs') diff --git a/src/runtime/haskell/PGF.hs b/src/runtime/haskell/PGF.hs index 26a727a47..128a58a35 100644 --- a/src/runtime/haskell/PGF.hs +++ b/src/runtime/haskell/PGF.hs @@ -154,10 +154,10 @@ parseAll :: PGF -> Type -> String -> [[Tree]] parseAllLang :: PGF -> Type -> String -> [(Language,[Tree])] -- | The same as 'parse' but returns more detailed information -parse_ :: PGF -> Language -> Type -> String -> (Parse.ParseResult,Maybe BracketedString) +parse_ :: PGF -> Language -> Type -> String -> (Parse.ParseResult,BracketedString) -- | This is an experimental function. Use it on your own risk -parseWithRecovery :: PGF -> Language -> Type -> [Type] -> String -> (Parse.ParseResult,Maybe BracketedString) +parseWithRecovery :: PGF -> Language -> Type -> [Type] -> String -> (Parse.ParseResult,BracketedString) -- | The same as 'generateAllDepth' but does not limit -- the depth in the generation, and doesn't give an initial expression. -- cgit v1.2.3