diff options
| author | krasimir <krasimir@chalmers.se> | 2010-06-29 09:05:07 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2010-06-29 09:05:07 +0000 |
| commit | 5428049d8067ff74861308eb7525463d756fd318 (patch) | |
| tree | 4f02a3de18cd1ee68a25dd7c23c988916ff88300 /src/runtime/haskell | |
| parent | 272dcf69176234c0f032a8442ce4e7b449426bfd (diff) | |
in PGF.Printer special output format for SymLit
Diffstat (limited to 'src/runtime/haskell')
| -rw-r--r-- | src/runtime/haskell/PGF/Printer.hs | 2 |
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))) |
