summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-20 12:05:21 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-20 12:05:21 -0400
commit226f195f82f85b75da21066106770104ac727bec (patch)
tree5a64e31c262328719ab0c57f034d93cc372bcdff /test.toc
parent429eeee4d194820890bcbd6010765f9f7eccb21e (diff)
fixed compile time defer
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc2
1 files changed, 0 insertions, 2 deletions
diff --git a/test.toc b/test.toc
index 058d589..1bc7c34 100644
--- a/test.toc
+++ b/test.toc
@@ -1,6 +1,5 @@
#include "std/io.toc", io;
-
main ::= fn() {
defer io.puts("deferred from main");
for i := 0..10 {
@@ -19,4 +18,3 @@ main ::= fn() {
io.puts("end of main");
}
main();
-