diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-15 22:22:51 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-15 22:22:51 -0400 |
commit | 7d5365973221b596fd1b8c57f648ba05aff67715 (patch) | |
tree | 11950bfd585164700f57c10af9aa3d9a3e5c25b3 /std | |
parent | c24d807e24b4ea7dafe5872db618163fc683cdca (diff) |
got rid of need for ; following f ::= fn() {} etc.
Diffstat (limited to 'std')
-rw-r--r-- | std/io.toc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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'); -}; +} |