From: Jérémie Astor Date: Wed, 9 Sep 2020 15:00:30 +0000 (+0200) Subject: :art: Clean examples X-Git-Tag: nightly~1360 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=bff9ac013c27949576ab6339b2db26f4f5b90a5c;p=gwion.git :art: Clean examples --- 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" >>>; };