summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-15 22:22:51 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-15 22:22:51 -0400
commit7d5365973221b596fd1b8c57f648ba05aff67715 (patch)
tree11950bfd585164700f57c10af9aa3d9a3e5c25b3 /std
parentc24d807e24b4ea7dafe5872db618163fc683cdca (diff)
got rid of need for ; following f ::= fn() {} etc.
Diffstat (limited to 'std')
-rw-r--r--std/io.toc6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/io.toc b/std/io.toc
index 30696de..d3ce467 100644
--- a/std/io.toc
+++ b/std/io.toc
@@ -1,7 +1,7 @@
putchar ::= #foreign("putchar", "libc.so.6") fn(#C int) #C int;
toc_putchar ::= fn(x: char) {
putchar(x as #C int);
-};
+}
puts ::= fn(x: []char) {
@@ -9,7 +9,7 @@ puts ::= fn(x: []char) {
toc_putchar(c);
}
toc_putchar('\n');
-};
+}
puti ::= fn(x: int) {
if x < 0 {
@@ -32,4 +32,4 @@ puti ::= fn(x: int) {
}
}
toc_putchar('\n');
-};
+}