From 07af8988d3e42bf7e18c06cf8c9dabaa34c60578 Mon Sep 17 00:00:00 2001 From: hallgren Date: Sun, 18 Mar 2012 20:12:26 +0000 Subject: PGF run-time library: function names in BracketedString (experimental) + Make room for function names in the BracketedString data structure. + Fill in function names when linearizing an abstract syntax tree to a BracketedString. + Fill in wildCId when it is not obvious what the function is. + Function bracketedLinearize: for compatibility with the other linearization functions, return Leaf "" instead of error "cannot linearize". + Export flattenBracketedString from module PGF. + PGFServce: make function names available in the JSON representation of BracketedString. --- src/runtime/haskell/PGF.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/haskell/PGF.hs') diff --git a/src/runtime/haskell/PGF.hs b/src/runtime/haskell/PGF.hs index 0e653c62b..ac91fa231 100644 --- a/src/runtime/haskell/PGF.hs +++ b/src/runtime/haskell/PGF.hs @@ -58,7 +58,7 @@ module PGF( showPrintName, BracketedString(..), FId, LIndex, Token, - Forest.showBracketedString, + Forest.showBracketedString,flattenBracketedString, -- ** Parsing parse, parseAllLang, parseAll, parse_, parseWithRecovery, -- cgit v1.2.3