diff options
| author | krasimir <krasimir@chalmers.se> | 2010-10-25 12:21:12 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2010-10-25 12:21:12 +0000 |
| commit | aa6b07afdb53461ba2f6b8596b3f6eb1e246961b (patch) | |
| tree | 00d7d062879365cebe25aea7a4c3f78951da2ad2 /src/runtime/haskell | |
| parent | 2aea03a6144f71977fbea7c0c777d21e7f6572fb (diff) | |
when we print the bracketed string it is useful to print the attached metavariables as well
Diffstat (limited to 'src/runtime/haskell')
| -rw-r--r-- | src/runtime/haskell/PGF/Macros.hs | 2 |
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 |
