From 7d5365973221b596fd1b8c57f648ba05aff67715 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sun, 15 Mar 2020 22:22:51 -0400 Subject: got rid of need for ; following f ::= fn() {} etc. --- std/io.toc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'std') 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'); -}; +} -- cgit v1.2.3