summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-06-29 09:05:07 +0000
committerkrasimir <krasimir@chalmers.se>2010-06-29 09:05:07 +0000
commit5428049d8067ff74861308eb7525463d756fd318 (patch)
tree4f02a3de18cd1ee68a25dd7c23c988916ff88300 /src
parent272dcf69176234c0f032a8442ce4e7b449426bfd (diff)
in PGF.Printer special output format for SymLit
Diffstat (limited to 'src')
-rw-r--r--src/runtime/haskell/PGF/Printer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF/Printer.hs b/src/runtime/haskell/PGF/Printer.hs
index 4c9961b55..ea39fe6eb 100644
--- a/src/runtime/haskell/PGF/Printer.hs
+++ b/src/runtime/haskell/PGF/Printer.hs
@@ -77,7 +77,7 @@ ppPrintName (id,name) =
ppCId id <+> text ":=" <+> ppStrs [name]
ppSymbol (SymCat d r) = char '<' <> int d <> comma <> int r <> char '>'
-ppSymbol (SymLit d r) = char '<' <> int d <> comma <> int r <> char '>'
+ppSymbol (SymLit d r) = char '{' <> int d <> comma <> int r <> char '}'
ppSymbol (SymKS ts) = ppStrs ts
ppSymbol (SymKP ts alts) = text "pre" <+> braces (hsep (punctuate semi (ppStrs ts : map ppAlt alts)))