From 2c8c1cbe6a6d91c1aa2538328bff8524f7ddade4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind?= Date: Thu, 21 Apr 2022 21:17:49 +0200 Subject: [PATCH] missing return --- exercises/06/vslc/vsl_programs/ps5-codegen1/function_call.vsl | 1 + exercises/06/vslc/vsl_programs/ps5-codegen1/helloworld.vsl | 1 + exercises/06/vslc/vsl_programs/ps5-codegen1/shadow.vsl | 1 + 3 files changed, 3 insertions(+) diff --git a/exercises/06/vslc/vsl_programs/ps5-codegen1/function_call.vsl b/exercises/06/vslc/vsl_programs/ps5-codegen1/function_call.vsl index 5bd29ec..6a4e715 100644 --- a/exercises/06/vslc/vsl_programs/ps5-codegen1/function_call.vsl +++ b/exercises/06/vslc/vsl_programs/ps5-codegen1/function_call.vsl @@ -6,4 +6,5 @@ end func main() begin print 2 + add(40, 2) + 2 + return 0 end \ No newline at end of file diff --git a/exercises/06/vslc/vsl_programs/ps5-codegen1/helloworld.vsl b/exercises/06/vslc/vsl_programs/ps5-codegen1/helloworld.vsl index 49219f8..0775dea 100644 --- a/exercises/06/vslc/vsl_programs/ps5-codegen1/helloworld.vsl +++ b/exercises/06/vslc/vsl_programs/ps5-codegen1/helloworld.vsl @@ -1,3 +1,4 @@ func main() begin print "Hello, World!" + return 0 end \ No newline at end of file diff --git a/exercises/06/vslc/vsl_programs/ps5-codegen1/shadow.vsl b/exercises/06/vslc/vsl_programs/ps5-codegen1/shadow.vsl index 7995200..b3972cf 100644 --- a/exercises/06/vslc/vsl_programs/ps5-codegen1/shadow.vsl +++ b/exercises/06/vslc/vsl_programs/ps5-codegen1/shadow.vsl @@ -21,4 +21,5 @@ func main() begin print a end print b + return 0 end \ No newline at end of file