summaryrefslogtreecommitdiff
path: root/std/io.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-05-08 16:17:37 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-05-08 16:17:37 -0400
commit1fac85b953b4a522e6b03fafa97c25a61e1c62ea (patch)
tree4ef588205feedac82b16dc05e7a72f058c087ebe /std/io.toc
parent5dabbe87ed4e86fa0306fd9ef11e7a7fee2a6ddb (diff)
allow use of global constant before declaring it, get rid of weird Location comparison
Diffstat (limited to 'std/io.toc')
-rw-r--r--std/io.toc4
1 files changed, 0 insertions, 4 deletions
diff --git a/std/io.toc b/std/io.toc
index 4f05be5..4eaf113 100644
--- a/std/io.toc
+++ b/std/io.toc
@@ -13,7 +13,6 @@ unfortunately, we can't use fwrite because MSVC doesn't like it when you
use a file handle that's not from the DLL. (i.e. you can't pass your stdout
to the imported version of fwrite)
*/
-/*
writes ::= fn(x: []char) {
for c := x {
toc_putchar(c);
@@ -51,9 +50,7 @@ puti ::= fn(x: int) {
writei(x);
toc_putchar('\n');
}
-*/
-/*
writef ::= fn(x: float) {
fmt := "%f\0";
printf(&fmt[0], x);
@@ -62,4 +59,3 @@ putf ::= fn(x: float) {
writef(x);
toc_putchar('\n');
}
-*/