diff options
Diffstat (limited to 'Sil/Syntax.icl')
-rw-r--r-- | Sil/Syntax.icl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Sil/Syntax.icl b/Sil/Syntax.icl index ec7aafa..c812508 100644 --- a/Sil/Syntax.icl +++ b/Sil/Syntax.icl @@ -11,7 +11,7 @@ import Sil.Util.Printer instance toString Statement where toString (Declaration n a) = n <+ " := " <+ a <+ ";" - toString (Application app) = toString app <+ ";" + toString (Application e) = toString e <+ ";" toString (Return Nothing) = "return;" toString (Return (Just a)) = "return " <+ a <+ ";" toString (If bs e) = "if ..." @@ -26,7 +26,7 @@ where instance toString Arg where toString arg = arg.arg_type <+ " " <+ arg.arg_name -instance toString Application +instance toString Expression where toString (Name n) = n toString (Literal lit) = toString lit |