aboutsummaryrefslogtreecommitdiff
path: root/Sil/Syntax.icl
diff options
context:
space:
mode:
authorCamil Staps2017-07-19 12:25:45 +0000
committerCamil Staps2017-07-19 12:25:45 +0000
commit2788df88e6261ac641adf9f39bbfe517a7d77d9c (patch)
tree49ee4f4932dccf4b06782bd4879898dfa6fdfe4e /Sil/Syntax.icl
parentAdd readme and license (diff)
Add else if
Diffstat (limited to 'Sil/Syntax.icl')
-rw-r--r--Sil/Syntax.icl2
1 files changed, 1 insertions, 1 deletions
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 _ = "<<unimplemented Statement>>"