From 398bdc9487605ad09d5968f90e91d31ac8f89bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind?= Date: Thu, 17 Mar 2022 23:13:55 +0100 Subject: [PATCH] Fixed some errors in the vsl programs --- exercises/04/vslc/vsl_programs/ps3-simplify/constants.vsl | 2 +- exercises/04/vslc/vsl_programs/ps3-simplify/lists.vsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/04/vslc/vsl_programs/ps3-simplify/constants.vsl b/exercises/04/vslc/vsl_programs/ps3-simplify/constants.vsl index 04fbf4e..8843eb6 100644 --- a/exercises/04/vslc/vsl_programs/ps3-simplify/constants.vsl +++ b/exercises/04/vslc/vsl_programs/ps3-simplify/constants.vsl @@ -1,6 +1,6 @@ func main() begin - var a + var a, b a := 1 + 2 + 4 + 5 + 6 + 7 + 8 + 9 b := (10 + 10 * 4) * (2 + 2 * (1 + 1)) / 10 + 2 * 5 + 6 / 3 diff --git a/exercises/04/vslc/vsl_programs/ps3-simplify/lists.vsl b/exercises/04/vslc/vsl_programs/ps3-simplify/lists.vsl index 568cb89..8ac2183 100644 --- a/exercises/04/vslc/vsl_programs/ps3-simplify/lists.vsl +++ b/exercises/04/vslc/vsl_programs/ps3-simplify/lists.vsl @@ -1,5 +1,5 @@ -func my_fun(a, b, c, d, e, f, g, h) begin +func my_func(a, b, c, d, e, f, g, h) begin var i, j, k, l, m i := a + b + d