From 2788df88e6261ac641adf9f39bbfe517a7d77d9c Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 19 Jul 2017 12:25:45 +0000 Subject: Add else if --- Sil/Syntax.icl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sil/Syntax.icl') diff --git a/Sil/Syntax.icl b/Sil/Syntax.icl index 934a300..ec7aafa 100644 --- a/Sil/Syntax.icl +++ b/Sil/Syntax.icl @@ -14,7 +14,7 @@ where toString (Application app) = toString app <+ ";" toString (Return Nothing) = "return;" toString (Return (Just a)) = "return " <+ a <+ ";" - toString (If c t e) = "if (" <+ c <+ ") ..." + toString (If bs e) = "if ..." toString (MachineStm s) = "|~" <+ s toString _ = "<>" -- cgit v1.2.3