From bff9ac013c27949576ab6339b2db26f4f5b90a5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 9 Sep 2020 17:00:30 +0200 Subject: [PATCH] :art: Clean examples --- examples/class_enum.gw | 2 +- examples/func_ptr.gw | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/class_enum.gw b/examples/class_enum.gw index 0287045d..5532f1b1 100644 --- a/examples/class_enum.gw +++ b/examples/class_enum.gw @@ -4,7 +4,7 @@ class C { one, two, three - }; + } <<< zero, " ", one, " ", two, " ", three >>>; } C c; diff --git a/examples/func_ptr.gw b/examples/func_ptr.gw index 9a0e3832..a809cf6a 100644 --- a/examples/func_ptr.gw +++ b/examples/func_ptr.gw @@ -1,5 +1,5 @@ #! define a fun pointer type -typedef void Test() +typedef void Test(); #! define a few funs fun void test1(){ <<< "test" >>>; }; -- 2.43.0