summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test.toc b/test.toc
index 8a9b00e..61ddcb1 100644
--- a/test.toc
+++ b/test.toc
@@ -10,15 +10,15 @@ putf ::= fn(x: float) {
main ::= fn() {
puti(f(3));
puti(f(7));
- puti(f(3,4));
+ puti(f(4));
- f ::= fn(x :: int, y := x) int { y };
+ f ::= fn(x : int) y := x { };
r ::= f(3);
puti(r);
s ::= f(7);
puti(s);
- t ::= f(3,4);
+ t ::= f(4);
puti(t);
}; \ No newline at end of file