diff options
author | Camil Staps | 2017-07-19 12:30:10 +0000 |
---|---|---|
committer | Camil Staps | 2017-07-19 12:30:10 +0000 |
commit | 7364919175a6bc988d17523005917933f0680492 (patch) | |
tree | cc66d7ec332bf729ed2c484ee642d557fa38ae43 /Sil/Syntax.icl | |
parent | Add else if (diff) |
Nomenclature: Application type is now Expression
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 |