summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-09-23 11:22:54 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-09-23 11:22:54 -0400
commitf68d40f063608c15d5cf7db2dd506f6676bbd440 (patch)
tree32924bc3b80abda66a92feb3714b74d47459ab6f /test.toc
parent7910074a8cc73f6ac5b8345851ff16058e60272b (diff)
improved if/elif/else; started while
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc8
1 files changed, 5 insertions, 3 deletions
diff --git a/test.toc b/test.toc
index 31d337a..788cdcd 100644
--- a/test.toc
+++ b/test.toc
@@ -1,11 +1,13 @@
main @= fn() {
- x := 1;
- foo := if x {
+ //x := 1;
+ /*foo := if x {
9
} elif 7-3 {
5
} elif main {
3
- } else {7 };
+ } else {7 };*/
+
+ bar := if 1 { 9 };
};