summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF/Macros.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-10-25 12:21:12 +0000
committerkrasimir <krasimir@chalmers.se>2010-10-25 12:21:12 +0000
commitaa6b07afdb53461ba2f6b8596b3f6eb1e246961b (patch)
tree00d7d062879365cebe25aea7a4c3f78951da2ad2 /src/runtime/haskell/PGF/Macros.hs
parent2aea03a6144f71977fbea7c0c777d21e7f6572fb (diff)
when we print the bracketed string it is useful to print the attached metavariables as well
Diffstat (limited to 'src/runtime/haskell/PGF/Macros.hs')
-rw-r--r--src/runtime/haskell/PGF/Macros.hs2
1 files changed, 1 insertions, 1 deletions
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