summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-05-19 12:31:36 +0000
committerkrasimir <krasimir@chalmers.se>2010-05-19 12:31:36 +0000
commit31856ebb4cf9aa181b2875c88e964cefae319c96 (patch)
tree3a933cbff8c17c1ccb1073adfcf0dd0ca6925dfc /src/runtime/haskell/PGF.hs
parentec227abe43d73817325b7e7c121fcda047f56dca (diff)
now the parser could return partial parse results
Diffstat (limited to 'src/runtime/haskell/PGF.hs')
-rw-r--r--src/runtime/haskell/PGF.hs4
1 files changed, 2 insertions, 2 deletions
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.