diff options
author | Camil Staps | 2017-07-30 09:17:44 +0200 |
---|---|---|
committer | Camil Staps | 2017-07-30 09:17:44 +0200 |
commit | ebde44b28b551f670c9e5c4c038d03e94bfbb1d2 (patch) | |
tree | 7d021edb338a4fc6210a38fb2d3f0dafdda85ec2 /Sil/Util/Printer.dcl | |
parent | Force logical order of output in cli (diff) |
Reorganise: make Position a field in Syntax types
Diffstat (limited to 'Sil/Util/Printer.dcl')
-rw-r--r-- | Sil/Util/Printer.dcl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Sil/Util/Printer.dcl b/Sil/Util/Printer.dcl index 56ad103..d0685cb 100644 --- a/Sil/Util/Printer.dcl +++ b/Sil/Util/Printer.dcl @@ -3,7 +3,7 @@ definition module Sil.Util.Printer from StdOverloaded import class toString, class zero from Sil.Parse import :: Token -from Sil.Syntax import :: Positioned, :: Program, :: Function, :: CodeBlock, +from Sil.Syntax import :: Program, :: Function, :: CodeBlock, :: Initialisation, :: Statement :: PrintState @@ -14,7 +14,6 @@ class PrettyPrinter t where print :: PrintState t -> String instance PrettyPrinter String -instance PrettyPrinter (Positioned a) | PrettyPrinter a instance PrettyPrinter [Token] instance PrettyPrinter Program instance PrettyPrinter Function |