]> Nishi Git Mirror - gwion.git/commitdiff
:art: Clean examples
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 9 Sep 2020 15:00:30 +0000 (17:00 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 9 Sep 2020 15:00:30 +0000 (17:00 +0200)
examples/class_enum.gw
examples/func_ptr.gw

index 0287045d1b19fdc678280744193cfc5543988b74..5532f1b1ee6f3636dd82057c7b03cb7c1d4dc825 100644 (file)
@@ -4,7 +4,7 @@ class C {
     one,
     two,
     three
-  };
+  }
   <<< zero, " ", one, " ", two, " ", three >>>;
 }
 C c;
index 9a0e38327454ea3669a95c166ecac4446e735809..a809cf6af97edf7c89c1ce9edc60096cec9819d0 100644 (file)
@@ -1,5 +1,5 @@
 #! define a fun pointer type
-typedef void Test()
+typedef void Test();
 
 #! define a few funs
 fun void test1(){ <<< "test" >>>; };