]> ocean-lang.org Git - ocean/blobdiff - csrc/itest.code
indent test: various fixed to match new design.
[ocean] / csrc / itest.code
index 9ce8305e0d2ea0d0da372273868c7fdf434ea52b..86b71a4a3276492e6ca1c013b1318adbed8da093 100644 (file)
                     x +
                     y
                     / two;
-       else if cond2:
+        else if cond2:
                there1 =x
                there1a=x
        there2=x
        there3=x;
        all = y;
-       if true {yes=x;} else no=x;
+       if true {yes=x;} else : no=x
+       if true: yes = no; no = yes;
+
+       if false {
+               print = OK
+       } else {
+               print = not_OK
+       }
+
+       if a:
+               if b:
+                       c= d
+       x = y