From aa6b07afdb53461ba2f6b8596b3f6eb1e246961b Mon Sep 17 00:00:00 2001 From: krasimir Date: Mon, 25 Oct 2010 12:21:12 +0000 Subject: [PATCH] when we print the bracketed string it is useful to print the attached metavariables as well --- src/runtime/haskell/PGF/Macros.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/haskell/PGF/Macros.hs b/src/runtime/haskell/PGF/Macros.hs index 40c2a754f..aecb584d5 100644 --- a/src/runtime/haskell/PGF/Macros.hs +++ b/src/runtime/haskell/PGF/Macros.hs @@ -169,7 +169,7 @@ showBracketedString :: BracketedString -> String showBracketedString = render . ppBracketedString ppBracketedString (Leaf t) = text t -ppBracketedString (Bracket cat fcat index _ bss) = parens (ppCId cat <+> hsep (map ppBracketedString bss)) +ppBracketedString (Bracket cat fid index _ bss) = parens (ppCId cat <> colon <> int fid <+> hsep (map ppBracketedString bss)) -- | The length of the bracketed string in number of tokens. lengthBracketedString :: BracketedString -> Int